Page History
...
The FLOOR operation rounds Value downward to the nearest integer.
Example
| Code Block |
|---|
// Compute the floor of PI
Val = "3.1415926535897932384626433832795"
Result = SRP_Math("FLOOR", Val)
!! Result = 3.0 !! |
...
| Code Block |
|---|
// Compute the floor of -PI
Val = "-3.1415926535897932384626433832795"
Result = SRP_Math("FLOOR", Val)
!! Result = -4.0 !! |
...