Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 !!

...