description | title | TOCTitle | ms:assetid | ms:mtpsurl | ms:contentKeyID | ms.date | mtps_version |
---|---|---|---|---|---|---|---|
Learn more about: Round Functoid |
Round Functoid |
Round Functoid |
a0993b70-e388-470f-bbe7-b40f61595486 |
51530128 |
08/30/2017 |
v=BTS.80 |
Use the Round functoid ( ) to round the specified numeric input parameter to the nearest specified number of decimal places.
Parameter 1: A numeric value to be rounded to the nearest number of decimal places, as specified by parameter 2.
Parameter 2: A numeric value that is a (presumably small) whole number representing the number of decimal places to which the number specified by parameter 1 will be rounded.
Output 1: A numeric value that is the result of rounding the number specified by parameter 1 to the number of decimal places specified by parameter 2.
If parameter 2 is zero (0) or not provided, the result is a whole number.
This functoid uses banker or even rounding. For example, if the second parameter is 0 for whole number rounding, then 1.5 rounds to 2, while 4.5 rounds to 4.
Mathematical Functoids Reference
Mathematical Functoids
How to Add Basic Functoids to a Map
Integer Functoid