Skip to content

Commit de83e74

Browse files
authored
Update article.md
ms - official international name for millisecond. 1 ms = 1 * 10**(-3) second (or 1e-3). Source : https://en.wikipedia.org/wiki/Metric_prefix . 0.000001 or 1e-6 - it's microsecond. Better name for this variable 'mcs' or 'us'. 'mcs' easier to understand.
1 parent 246c600 commit de83e74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/05-data-types/02-number/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ In other words, `e` multiplies the number by `1` with the given zeroes count.
4444
Now let's write something very small. Say, 1 microsecond (one millionth of a second):
4545

4646
```js
47-
let ms = 0.000001;
47+
let mсs = 0.000001;
4848
```
4949

5050
Just like before, using `"e"` can help. If we'd like to avoid writing the zeroes explicitly, we could say the same as:
5151

5252
```js
53-
let ms = 1e-6; // six zeroes to the left from 1
53+
let mcs = 1e-6; // six zeroes to the left from 1
5454
```
5555

5656
If we count the zeroes in `0.000001`, there are 6 of them. So naturally it's `1e-6`.

0 commit comments

Comments
 (0)