Skip to content

Commit

Permalink
Update article.md
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
NickFallman authored and malechaneit committed Feb 2, 2022
1 parent 1faa065 commit 3a1f194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1-js/05-data-types/02-number/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ alert( 7.3e9 ); // 7.3 мільярдів (таке ж саме що 7300000000
Тепер напишемо щось дуже маленьке. Наприклад, 1 мікросекунда (одна мільйонна частина секунди):

```js
let ms = 0.000001;
let mсs = 0.000001;
```

Як і раніше, нам допоможе використання `"e"`. Якщо ми хочемо уникнути явного запису нулів, ми можемо написати:
Expand Down

0 comments on commit 3a1f194

Please sign in to comment.