RoundToInteger

Returns a whole Number rounded from the input value. The value rounds up if the decimal of the Number is greater than or equal to 0.5, and rounds down if it is less than 0.5.

Inputs

  1. Number

Output

  • Number
<block type="RoundToInteger">
    <value name="VALUE-0">
        <block type="Number">
            <field name="NUM">4.51</field>
        </block>
    </value>
</block>