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.
This commit is contained in:
NickFallman 2022-01-10 10:58:47 +03:00 committed by GitHub
parent 246c600f11
commit de83e748ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,13 +44,13 @@ In other words, `e` multiplies the number by `1` with the given zeroes count.
Now let's write something very small. Say, 1 microsecond (one millionth of a second):
```js
let ms = 0.000001;
let mсs = 0.000001;
```
Just like before, using `"e"` can help. If we'd like to avoid writing the zeroes explicitly, we could say the same as:
```js
let ms = 1e-6; // six zeroes to the left from 1
let mcs = 1e-6; // six zeroes to the left from 1
```
If we count the zeroes in `0.000001`, there are 6 of them. So naturally it's `1e-6`.