Round To Decimal Place(s)
Usage
Returns the rounded value of the first input with a specified number of decimal points.
Syntax
Inputs in this block:
- a number, to be rounded
- a number, the number of decimal places to be rounded to
Example
In this model, a new random decimal is produced whenever the “Generate Decimal” button is pushed, and that decimal is then rounded to three decimal points whenever the “Round Decimal” button is pushed. This feature is often useful in making data easier to display.