Convert that real number into an integer.
This function changes the number to an integer. Real numbers are changed to integers by truncating everything after the decimal point; no attempt is made to round off the number.
Examples
Code | Returns |
---|---|
(fix 3) | 3 |
(fix pi) | 3 |
(fix 7.999) | 7 |
Tell me about...
Programming Overview of LISP (LISt Processing) Language
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |