trunc
-
math function
-
The
truncfunction truncates a number and returns the whole number portion, ignoring any fractional portion. -
Examples: +
put trunc(16.8) —> 16 -
Related: frac
math function
The trunc function truncates a number and returns the whole number portion, ignoring any fractional portion.
Examples: +
put trunc(16.8) —> 16
Related: frac