Returns the conversion of a real number into the nearest smaller integer
(fix number)
fix function truncates number to the nearest integer by discarding the fractional portion.
TheArguments
A real number.
Return Values
The integer derived from number.
fix returns a truncated real (although integers transferred between AutoLISP and AutoCAD are restricted to 16-bit values).
If number is larger than the largest possible integer (+2,147,483,647 or -2,147,483,648 on a 32-bit platform),Examples
Command: (fix 3)
3
Command: (fix 3.7)
3