en.javascript.info icon indicating copy to clipboard operation
en.javascript.info copied to clipboard

A typo in the article

Open Alexandre887 opened this issue 2 years ago • 4 comments

Numbers

There are six zeroes to the left from $\large1$ in $\large0.000001$, not five.

Alexandre887 avatar Aug 13 '23 19:08 Alexandre887

same confusion as #3541

shallow-beach avatar Aug 27 '24 15:08 shallow-beach

I never liked the "zeroes count" explanation. It doesn't help to build intuition.

We have decimal notation. It comes with a key property: Multiplying by 10, 100, 1000, moves the decimal point 1, 2 , 3 places to the right. Dividing, to the left.

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.

joaquinelio avatar Sep 08 '24 20:09 joaquinelio

I never liked the "zeroes count" explanation. It doesn't help to build intuition.

We have decimal notation. It comes with a key property: Multiplying by 10, 100, 1000, moves the decimal point 1, 2 , 3 places to the right. Dividing, to the left.

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 $eX \equiv 10^X$ (X is zero count of multiplier (either of numerator's zeros ($X \geq 0$, with denominator=1) or of denominator's zeros ($X \lt 0$, with numerator=1)), which coincides with count of decimal point moves). trying to apply it directly to a result is confusing - e.g, if we have 5555e-4, that results in $5555 * 10^{-4}$ = 0.5555, which does not have 'usefully' countable zeros.

shallow-beach avatar Sep 08 '24 20:09 shallow-beach

I never liked the "zeroes count" explanation. It doesn't help to build intuition. We have decimal notation. It comes with a key property: Multiplying by 10, 100, 1000, moves the decimal point 1, 2 , 3 places to the right. Dividing, to the left. 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 e X ≡ 10 X (X is zero count of multiplier (either of numerator's zeros ( X ≥ 0 , with denominator=1) or of denominator's zeros ( X < 0 , with numerator=1)), which coincides with count of decimal point moves). trying to apply it directly to a result is confusing - e.g, if we have 5555e-4, that results in 5555 ∗ 10 − 4 = 0.5555, which does not have 'usefully' countable zeros.

It's easier to think that way, don't you think?applying directly e-4, 5555. --> 0.5555 4 spaces to the left Where each space is /power of 10

joaquinelio avatar Sep 08 '24 22:09 joaquinelio