mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-22 21:08:12 +08:00
fix(curriculum): typo in Decimal to Binary Converter - Step 26 (#52996)
This commit is contained in:
parent
8f38b537d5
commit
4e0178b3e2
@ -9,7 +9,7 @@ dashedName: step-26
|
||||
|
||||
Like you saw in the last step, division can lead to a floating point number, or a number with a decimal point. The best way to handle this is to round down to the nearest whole number.
|
||||
|
||||
Use the `Math.floor()` function to round down the quotient of `input` divided by `2` before it's assigned to `input`.
|
||||
Use the `Math.floor()` function to round down the quotient of `input` divided by `2` before it's assigned to `quotient`.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user