calc.trunc
Returns the integer part of a number.
If the number is already an integer, it is returned unchanged.
Example
#assert(calc.trunc(3) == 3)
#assert(calc.trunc(-3.7) == -3)
#assert(calc.trunc(15.9) == 15)

ParametersParameters are the inputs to a function. They are specified in parentheses after the function name.
Parameters are the inputs to a function. They are specified in parentheses after the function name.
value
The number to truncate.