Rounds a value upward to the nearest integer.
Syntax
Result = SRP_Math("CEILING", Value, "", DecimalPlaces, ScientificNotation) |
The ceiling of Value.
The CEILING operation rounds Value upward to the nearest integer. You can specify CEIL for short.
// Compute the ceiling of PI Val = "3.1415926535897932384626433832795" Result = SRP_Math("CEIL", Val) !! Result = 4.0 !! |
// Compute the ceiling of -PI Val = "-3.1415926535897932384626433832795" Result = SRP_Math("CEIL", Val) !! Result = -3.0 !! |