Arithmetic blocks

Arithmetic blocks

Round block

The Round block is an arithmentic block that rounds a numeric input based on the increment input and rounding method defined in the mode setting; it then outputs the rounded value.

Example Round a value to the nearest tenth using AlwaysDown and Normal modes.

To access the block properties, double-click the block.

Block properties

To customize the block, update the Block Properties.

Property Description
Name Name to display beneath the block on the ADL canvas

Rules to use for rounding the input value:

  • Normal: Use standard rounding rules (n < 5, round down; n >= 5, round up)
  • Always Down: Round to the lower increment
  • Always Up: Round to the upper increment