round decimal
(
decimal
,
decimal places
)
rounded
Type:
For any units
u
(
Number
{
u
}
,
Number
)
->
Number
{
u
}
Rounds the number to the given number of decimal places (digits after the decimal point).
Examples
Click an example to insert it
round decimal
(
3.1415927, 2
)
→
3.14