Determine whether this number is zero.
If number is a real number or an integer and it is a zero value, the zerop function returns a T. Otherwise, it returns a nil.
Examples
Code | Returns |
---|---|
(zerop 0) | T |
(zerop 0.5) | nil |
(zerop 0.0000) | T |
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. |