Arc Cross Reference

truncate

[procedure] truncate n

Round a real number n towards zero and makes it an exact integer. Gauche's scheme:truncate->exact.

(xdef 'truncate (lambda (x) (inexact->exact (truncate x))))