The 'truncate' function takes the 'expr' and truncates it to an integer value and returns this result.
(truncate 123.456) ; returns 123 (truncate -1.49) ; returns -1 (truncate -1.59) ; returns -1 (truncate 123) ; returns 123 (truncate 123.999) ; returns 123
Common Lisp: Common LISP allows an optional division parameter, which XLISP does not support.
See the
truncate
function in the