mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-15 01:00:14 -04:00
fix(curriculum): typo in Decimal to Binary Converter - Step 26 (#52996)
This commit is contained in:
@@ -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--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user