All help topics · Link to this topic
Showing help on 'trunc()'
Syntax: trunc (FLOAT <x>) => FLOATReturns the integer obtained by truncating <x> at the decimal point, as a floating-point number. For negative <x>, this is equivalent to `ceil()'; otherwise, it is equivalent to `floor()'.