commit
586cc5441c
1 changed files with 1 additions and 1 deletions
|
@ -28,6 +28,6 @@ Note that `63.5` has no precision loss at all. That's because the decimal part `
|
|||
|
||||
|
||||
```js run
|
||||
alert( Math.round(6.35 * 10) / 10); // 6.35 -> 63.5 -> 64(rounded) -> 6.4
|
||||
alert( Math.round(6.35 * 10) / 10 ); // 6.35 -> 63.5 -> 64(rounded) -> 6.4
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue