float::trunc — round to integer, towards zero
FLOAT float::trunc (
)
FLOAT
Returns f rounded to the nearest integer, towards zero.
trunc (+1.6) -> +1.0 trunc (-1.6) -> -1.0