Updated examples
This commit is contained in:
@ -10,5 +10,5 @@ const round = (n, decimals=0) => Number(`${Math.round(`${n}e${decimals}`)}e-${de
|
||||
```
|
||||
|
||||
```js
|
||||
round(1.005, 2) -> 1.01
|
||||
round(1.005, 2) // 1.01
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user