From 0c86e0c8dbdea02df8887f569efb576975886332 Mon Sep 17 00:00:00 2001 From: kitiya Date: Thu, 7 Sep 2017 11:17:28 -0600 Subject: [PATCH] Update solution.md Math.round(63.5) should return 64, not 63. --- 1-js/05-data-types/02-number/2-why-rounded-down/solution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/02-number/2-why-rounded-down/solution.md b/1-js/05-data-types/02-number/2-why-rounded-down/solution.md index 2152d73d..a17a4671 100644 --- a/1-js/05-data-types/02-number/2-why-rounded-down/solution.md +++ b/1-js/05-data-types/02-number/2-why-rounded-down/solution.md @@ -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 ```