Skip to main content

Round

Rounding allows you to take raw inputs and turn them into outputs that are simpler to work with or give more explicit representation.

The Round block receives a numerical input and compares it to the number in the value field. This value can be a:

  • User defined constant.
  • Global variable (created in Workspace Settings - referenced using a $ symbol i.e. $variable).
  • Numerical value from another block in the process.

The block's output will send the closest number to the input value that can be created by multiplying the number in the value field with an integer.

Inputs

  • Input – Integer / Float
  • Value - Fixed Value / Global Variable / Integer / Float

Outputs

  • Output – Integer / Float

Example 1

If:

Input = 166.574 Value = 10

Then: Output = 170


Example 2

If:

Input = 3.14159265… Value = 0.01

Then:

Output = 3.14