We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4da7f4a commit 0e1b3b8Copy full SHA for 0e1b3b8
src/components/primitives/FormattedNumber.tsx
@@ -89,7 +89,7 @@ export function FormattedNumber({
89
if (number === 0) {
90
decimals = 0;
91
} else if (visibleDecimals === undefined) {
92
- if (number > 1 || percent || symbol === 'USD') {
+ if (number >= 1 || percent || symbol === 'USD') {
93
decimals = 2;
94
} else {
95
decimals = 7;
0 commit comments