feat(i18n): use compact number format instead K/M suffix (#678)
This commit is contained in:
parent
d0567c0d18
commit
ca93f1a813
11 changed files with 14 additions and 30 deletions
|
@ -107,11 +107,13 @@ const numberFormats = Object.values(locales).reduce((acc, data) => {
|
|||
maximumFractionDigits: 0,
|
||||
},
|
||||
kiloCounting: {
|
||||
style: 'decimal',
|
||||
notation: 'compact',
|
||||
compactDisplay: 'short',
|
||||
maximumFractionDigits: 1,
|
||||
},
|
||||
millionCounting: {
|
||||
style: 'decimal',
|
||||
notation: 'compact',
|
||||
compactDisplay: 'short',
|
||||
maximumFractionDigits: 2,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue