-
Notifications
You must be signed in to change notification settings - Fork 3.9k
A typo in the article #3539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
A typo in the article #3539
Conversation
@@ -50,7 +50,7 @@ let mсs = 0.000001; | |||
Just like before, using `"e"` can help. If we'd like to avoid writing the zeroes explicitly, we could write the same as: | |||
|
|||
```js | |||
let mcs = 1e-6; // five zeroes to the left from 1 | |||
let mcs = 1e-6; // six zeroes to the left from 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not helpful. perhaps:
let mcs = 1e-6; // five zeroes to the left of 1 (to the right of the decimal point)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no such “up to the decimal point” condition here. Besides, literally after this sentence comes the following:
If we count the zeroes in
0.000001
, there are 6 of them. So naturally it's1e-6
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides, literally after this sentence
then fix that too:
If we count the zeroes in
0.000001
, there are 5 of them after the decimal point. So naturally it's1e-6
.
(also note i edited first suggestion to specify to the right of decimal point, i figure you saw original through email or smt.)
same confusion as #3541 |
I never liked the "zeroes count" explanation. We have decimal notation. It comes with a key property: 1.23e-9 moves the decimal point 9 places to the left. "Naturally" for real, no need for extra steps I couldn't figure out how to change the text without ruining it. |
zeros count makes sense in that |
It's easier to think that way, don't you think?applying directly |
Numbers
There are six zeroes to the left from$\large1$ in $\large0.000001$ , not five.