From a4a1d66fa163b40e1ea97805085c1068d87191f5 Mon Sep 17 00:00:00 2001 From: K-Sato <32632542+K-Sato1995@users.noreply.github.com> Date: Mon, 24 Jun 2019 14:56:52 +0900 Subject: [PATCH] Better punctuation --- 1-js/05-data-types/02-number/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/02-number/article.md b/1-js/05-data-types/02-number/article.md index a205f3e2..57162d75 100644 --- a/1-js/05-data-types/02-number/article.md +++ b/1-js/05-data-types/02-number/article.md @@ -12,7 +12,7 @@ Imagine we need to write 1 billion. The obvious way is: let billion = 1000000000; ``` -But in real life we usually avoid writing a long string of zeroes as it's easy to mistype. Also, we are lazy. We will usually write something like `"1bn"` for a billion or `"7.3bn"` for 7 billion 300 million. The same is true for most large numbers. +But in real life, we usually avoid writing a long string of zeroes as it's easy to mistype. Also, we are lazy. We will usually write something like `"1bn"` for a billion or `"7.3bn"` for 7 billion 300 million. The same is true for most large numbers. In JavaScript, we shorten a number by appending the letter `"e"` to the number and specifying the zeroes count: