Commit b26be00
committed
Auto merge of #2210 - Turbo87:format-num, r=locks
helpers/format-num: Simplify implementation using `Intl.NumberFormat`
There is no need to implement this ourselves, and using the native browser APIs for this will make it easier in the future to localize the application.1 file changed
+3
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
7 | 4 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 5 | + | |
| 6 | + | |
20 | 7 | | |
21 | 8 | | |
22 | 9 | | |
0 commit comments