Rounded value of the double with <decimal places> decimal places (.5 is rounded up)
| round(Integer decimalPlaces) | ||||
|---|---|---|---|---|
| Argument | Integer | decimalPlaces | Number of decimal places | |
| Return value | Double | rounded value | ||
| Formula | Result |
|---|---|
| =1.414213562373095.round(3) | 1,414 |
| =PI().round(2) | 3:14 AM |
| =PI().round(4) | 3.1416 |
