Skip to content

Commit 9129fcf

Browse files
committed
[숫자형] 충돌 해결 (6.35.toFixed(1) == 6.3인 이유 과제 해답)
1 parent d14d644 commit 9129fcf

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

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

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ alert( (6.35 * 10).toFixed(20) ); // 63.50000000000000000000
2828

2929

3030
```js run
31-
<<<<<<< HEAD
3231
alert( Math.round(6.35 * 10) / 10); // 6.35 -> 63.5 -> 64(반올림됨) -> 6.4
33-
=======
34-
alert( Math.round(6.35 * 10) / 10 ); // 6.35 -> 63.5 -> 64(rounded) -> 6.4
35-
>>>>>>> upstream/master
3632
```
3733

0 commit comments

Comments
 (0)