Rounds a value downward to the nearest integer.
Syntax
Result = SRP_Math( "FLOOR" , Value, "" , DecimalPlaces, ScientificNotation) |
Returns
The floor of Value.
Remarks
The FLOOR operation rounds Value downward to the nearest integer.
Example
// 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 !! |