Skip to content

Fix minor typo error in 1-js/05-data-types/02-number/article.md #805

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -16,7 +16,7 @@
let billion = 1000000000;
```

但在现实生活中,我们通常避免写一长串零,因为它很容易打错。另外,我们很懒。我们通常会将 10 亿写成 `"1bn"`,或将 72 亿写成 `"7.3bn"`。对于大多数大的数字来说都是如此。
但在现实生活中,我们通常避免写一长串零,因为它很容易打错。另外,我们很懒。我们通常会将 10 亿写成 `"1bn"`,或将 73 亿写成 `"7.3bn"`。对于大多数大的数字来说都是如此。

在 JavaScript 中,我们通过在数字后附加字母 "e",并指定零的数量来缩短数字:

Expand Down