FIX
Cuts off the decimal places of a number.
There is no rounding: -12.85 becomes -12. A number too large for an INTEGER raises NUMERIC_OVERFLOW.
Parameters and results
valueINTEGER|FLOAT: the number- result
resultINTEGER: the number without decimal places
Example
c0de
CALL c0de/math/FIX
PARAMETER value price ;
RESULT result coins