Rounding | With
this function block a value can be rounded up or down and the
number of decimal places can be limited. The rounding mode
determines how rounding is done: commercial rounding, truncating,
rounding down or rounding up. With 0 decimal places and the
rounding mode Truncate the integer part of a value is
obtained. |
Inputs |
||
| E1 |
Input
1 |
Input |
Outputs |
||
| A1 |
Output
1 |
Result |
Parameters |
||
| Decimal places |
Number of decimal places. Rounding is applied to
the last decimal place. |
|
| Rounding mode |
|
|