Update solution.md

Math.round(63.5) should return 64, not 63.
This commit is contained in:
kitiya 2017-09-07 11:17:28 -06:00 committed by GitHub
parent 144a2fe6c3
commit 0c86e0c8db

View file

@ -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 -> 63(rounded) -> 6.3
alert( Math.round(6.35 * 10) / 10); // 6.35 -> 63.5 -> 64(rounded) -> 6.4
```