Returns the number rounded down to the nearest integer. Example:

  1. 5.23@0 is received via number

  2. 5@0 is sent via floor

Example (negative number):

  1. -1.23@0 is received via number

  2. -2@0 is sent via floor

Keywords: number, floor, integer

Input ports

  • number: number

    The number to be rounded.

Output ports

  • floor: number

    The nearest integer which is less than or equal to the input number.

Last updated