Returns the number rounded to the nearest integer. Example:

  1. 1.51@0 is received via number

  2. 2@0 is sent via rounded

Example (negative number):

  1. -1.23@0 is received via number

  2. -1@0 is sent via rounded

Keywords: number, round, integer

Input ports

  • number: number

    The number to be rounded.

Output ports

  • rounded: number

    Sends the nearest integer to the number.

Last updated