Language Reference

Truncation Functions

CEILreturns the smallest integer \geq the argument
CEILZreturns the smallest integer that is greater than or equal to the argument, using zero fuzzing
FLOORreturns the largest integer \leq the argument
FLOORZreturns the largest integer that is less than or equal to the argument, using zero fuzzing
FUZZreturns the nearest integer if the argument is within 1E-12
INTreturns the integer portion of a value
INTZreturns the integer portion of the argument, using zero fuzzing
MODZreturns the remainder from the division of the first argument by the second argument, using zero fuzzing
ROUNDrounds a value to the nearest round-off unit
ROUNDErounds the first argument to the nearest multiple of the second argument, and returns an even multiple when the first argument is halfway between the two nearest multiples
ROUNDZrounds the first argument to the nearest multiple of the second argument, with zero fuzzing
TRUNCreturns a truncated numeric value of a specified length

Previous Page | Next Page | Top of Page