The integer function converts its only argument (which should be a numeric expression) to type integer and returns this value.
Syntax
(integer <numeric-expression>)
Example
CLIPS> (integer 4.0) 4 CLIPS> (integer -2) -2 CLIPS>