(rontolisp) docs
← Functions

truncate

(truncate number &optional divisor)

Rounds number (or number/divisor when a divisor is given) toward zero to an integer, discarding any fractional part. In an ordinary (single-value) context the result is the quotient only; the remainder is the second value, observable through multiple-value-bind and the other multiple-value consumers.