1 | import formatLocale from "./locale";
|
2 |
|
3 | var locale;
|
4 | export var format;
|
5 | export var formatPrefix;
|
6 |
|
7 | defaultLocale({
|
8 | decimal: ".",
|
9 | thousands: ",",
|
10 | grouping: [3],
|
11 | currency: ["$", ""]
|
12 | });
|
13 |
|
14 | export default function defaultLocale(definition) {
|
15 | locale = formatLocale(definition);
|
16 | format = locale.format;
|
17 | formatPrefix = locale.formatPrefix;
|
18 | return locale;
|
19 | }
|