Returns the value of a numeric value rounded to the nearest lower integer.
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
Syntax
<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. No decimal is returned if this parameter is not specified.
Remarks
The decimal separator for the real numbers is "." (dot).
Business / UI classification: Neutral code