Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Clarification of the example in the article#3541

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Alexandre887 wants to merge2 commits intojavascript-tutorial:master
base:master
Choose a base branch
Loading
fromAlexandre887:master-10
Open
Changes fromall 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
4 changes: 2 additions & 2 deletions1-js/05-data-types/02-number/article.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -58,10 +58,10 @@ If we count the zeroes in `0.000001`, there are 6 of them. So naturally it's `1e
In other words, a negative number after `"e"` means a division by 1 with the given number of zeroes:

```js
// -3divides by 1 with 3 zeroes
// -3means dividing by 1 with 3 zeroes
1e-3 === 1 / 1000; // 0.001

// -6divides by 1 with 6 zeroes
// -6means dividing by 1 with 6 zeroes
1.23e-6 === 1.23 / 1000000; // 0.00000123

// an example with a bigger number
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp