回答編集履歴
1
追記
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
```js
|
4
4
|
|
5
|
-
(1000).toLocaleString('en',{ minimumFractionDigits: 2 })
|
5
|
+
(1000).toLocaleString('en',{ minimumFractionDigits: 2 });
|
6
6
|
|
7
7
|
|
8
8
|
|
@@ -12,6 +12,18 @@
|
|
12
12
|
|
13
13
|
*/
|
14
14
|
|
15
|
+
|
16
|
+
|
17
|
+
(1000).toLocaleString('fr',{ minimumFractionDigits: 2 });
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
/*
|
22
|
+
|
23
|
+
1 000,00
|
24
|
+
|
25
|
+
*/
|
26
|
+
|
15
27
|
```
|
16
28
|
|
17
29
|
[Number.prototype.toLocaleString() - JavaScript | MDN](https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString)
|