|
|
|
|
|
RoundFloor (Function) In french: ArrondiInférieur
Warning
From version 28, RoundDown is kept for backward compatibility. This function has been replaced with RoundFloor.
ResRound = RoundFloor(-16.238167,2) // Returns -16.24 ResRound = RoundFloor(3.9) // Returns 3 (no decimal) ResRound = RoundFloor(3.999,2) // Returns 3.99 ResRound = RoundFloor(1.9) // Returns 1 ResRound = RoundFloor(-1.9) // Returns -2 // Rounded Duration ResRoundedDuration is Duration ResRoundedDuration = RoundFloor(13 min, 5 min) // Returns10 min (0001000000) // The duration is divided into 5-minute periods. // The result is the start of the time range that contains 13 min.
dtMyDateTime is DateTime = "202211041524"
Trace("dhMonDateTime: " + dhMonDateTime)
Trace("RoundFloor: " + RoundFloor(dhMonDateTime, 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|