|
|
|
|
|
RoundFloor (Function) In french: ArrondiInférieur
Warning
From version 28, RoundDown is kept for backward compatibility. This function has been replaced with RoundFloor.
Returns: - the numeric value rounded down to the nearest integer.
- the duration rounded down to the nearest interval.
- the date and time rounded down to the nearest interval.
ResArrondi = RoundFloor(-16.238167,2)
ResArrondi = RoundFloor(3.9)
ResArrondi = RoundFloor(3.999,2)
ResArrondi = RoundFloor(1.9)
ResArrondi = RoundFloor(-1.9)
ResArrondiDurée is Duration
ResArrondiDurée = RoundFloor(13 min, 5 min)
dhMonDateHeure is DateTime = "202211041524"
Trace("dhMonDateHeure : " + dhMonDateHeure)
Trace("ArrondiInférieur : " + RoundFloor(dhMonDateHeure, 7 min))
Syntax
Rounding a numeric value down Hide the details
<Result> = RoundFloor(<Numeric value> [, <Number of decimals>])
<Result>: Integer or real Value rounded to the lower number. <Numeric value>: Real or currency Numeric value to round. <Number of decimals>: Optional integer Number of decimals to return. If this parameter is not specified, no decimal is returned. Remarks The decimal separator for real numbers is "." (point). Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|