Skip to content

Commit a4a1d66

Browse files
authored
Better punctuation
1 parent 816bc5e commit a4a1d66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Imagine we need to write 1 billion. The obvious way is:
1212
let billion = 1000000000;
1313
```
1414

15-
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.
15+
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.
1616

1717
In JavaScript, we shorten a number by appending the letter `"e"` to the number and specifying the zeroes count:
1818

0 commit comments

Comments
 (0)