diff options
Diffstat (limited to 'files/fr/web/javascript/reference/global_objects/bigint')
| -rw-r--r-- | files/fr/web/javascript/reference/global_objects/bigint/tolocalestring/index.md | 2 | ||||
| -rw-r--r-- | files/fr/web/javascript/reference/global_objects/bigint/tostring/index.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/files/fr/web/javascript/reference/global_objects/bigint/tolocalestring/index.md b/files/fr/web/javascript/reference/global_objects/bigint/tolocalestring/index.md index ba569b8723..9f0e47dc94 100644 --- a/files/fr/web/javascript/reference/global_objects/bigint/tolocalestring/index.md +++ b/files/fr/web/javascript/reference/global_objects/bigint/tolocalestring/index.md @@ -89,7 +89,7 @@ var bigint = 123456789123456789n; // On utilise un format avec une devise console.log(bigint.toLocaleString('de-DE', { style: 'currency', currency: 'EUR' })); -// → 123.456.789.123.456.789,00 € +// → 123.456.789.123.456.789,00 € // Le yen japonais n'utilise pas de sous-unité console.log(bigint.toLocaleString('ja-JP', { style: 'currency', currency: 'JPY' })) diff --git a/files/fr/web/javascript/reference/global_objects/bigint/tostring/index.md b/files/fr/web/javascript/reference/global_objects/bigint/tostring/index.md index b1fdcdbef7..49e14b5dbd 100644 --- a/files/fr/web/javascript/reference/global_objects/bigint/tostring/index.md +++ b/files/fr/web/javascript/reference/global_objects/bigint/tostring/index.md @@ -52,7 +52,7 @@ Si `bigIntObj` est négatif, le signe est conservé, y compris lorsque la base e 17n.toString(); // '17' 66n.toString(2); // '1000010' 254n.toString(16); // 'fe' --10n.toString(2); // -1010' +-10n.toString(2); // -1010' -0xffn.toString(2); // '-11111111' ``` |
