Rounds a value downward to the nearest integer.
Syntax
Result = SRP_Math("FLOOR", Value, "", DecimalPlaces, ScientificNotation) |
The floor of Value.
The FLOOR operation rounds Value downward to the nearest integer.
// Compute the floor of PI Val = "3.1415926535897932384626433832795" Result = SRP_Math("FLOOR", Val) !! Result = 3.0 !! |
// Compute the floor of -PI Val = "-3.1415926535897932384626433832795" Result = SRP_Math("FLOOR", Val) !! Result = -4.0 !! |