fractional part of a number
Posted: Mon Oct 15, 2012 1:35 pm
Hi,
Is there a simple way to return the fractional part of a number in common lisp?
At the moment I am using
but this seems a bit verbose.
Is there a simple way to return the fractional part of a number in common lisp?
At the moment I am using
Code: Select all
(multiple-value-call (lambda (x y)(declare (ignore x)) y) (floor 1.5))