MongooseWhere programmers kick back and build silly things together.

All help topics · Link to this topic

Showing help on 'trunc()'

Syntax: trunc (FLOAT <x>) => FLOAT

Returns 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()'.