Skip to content

Commit

Permalink
Single fractional digit for thousands
Browse files Browse the repository at this point in the history
  • Loading branch information
easafe committed Aug 6, 2024
1 parent c470fe3 commit 1574ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shared/Intl.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export function thousands(number) {
return number.toLocaleString('en-US', {
maximumFractionDigits: 2,
maximumFractionDigits: 1,
notation: 'compact',
compactDisplay: 'short'
});
Expand Down

0 comments on commit 1574ea1

Please sign in to comment.