Page History
...
The CEILING operation rounds Value upward to the nearest integer. You can specify CEIL for short.
Example
| Code Block |
|---|
// Compute the ceiling of PI
Val = "3.1415926535897932384626433832795"
Result = SRP_Math("CEIL", Val)
!! Result = 4.0 !! |
...
| Code Block |
|---|
// Compute the ceiling of -PI
Val = "-3.1415926535897932384626433832795"
Result = SRP_Math("CEIL", Val)
!! Result = -3.0 !! |
...