Skip to content

Commit 34c05e2

Browse files
authored
Merge pull request javascript-tutorial#169 from kitiya/patch-3
Update solution.md
2 parents 4e1711e + 0c86e0c commit 34c05e2

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/02-number/2-why-rounded-down

1 file changed

+1
-1
lines changed

1-js/05-data-types/02-number/2-why-rounded-down/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Note that `63.5` has no precision loss at all. That's because the decimal part `
2828

2929

3030
```js run
31-
alert( Math.round(6.35 * 10) / 10); // 6.35 -> 63.5 -> 63(rounded) -> 6.3
31+
alert( Math.round(6.35 * 10) / 10); // 6.35 -> 63.5 -> 64(rounded) -> 6.4
3232
```
3333

0 commit comments

Comments
 (0)