c0de 0.3.0Diese Seite auf Deutsch

INT ​

Rounds a number down to an integer.

-12.85 becomes -13. A number too large for an INTEGER raises NUMERIC_OVERFLOW.

Parameters and results

  • value INTEGER|FLOAT: the number
  • result result INTEGER: the largest integer not greater than value

Example

c0de
CALL c0de/math/INT
    PARAMETER value height ;
    RESULT result blocks