Block Group: | Number Formatting |
Icon: |
The Round Up block rounds a number up, away from zero if positive and toward zero if negative.
For information on using dataflow blocks, see Dataflow.
For accepted and excluded arguments of Number Formatting blocks, see Number Formatting.
The following properties of the Round Up block can take input and give output.
input specifies any real number that you want rounded up.
precision specifies the number of digits after the decimal to round the number to. A value of 0, less than 0, or null rounds the number up to an integer.
The following property of the Round Up block can give output but cannot take input.
output returns the rounded-up number.
The following image shows an example of the Round Up block. In this example, the number 3.2 is rounded up to an integer.