Skip to content

Commit

Permalink
🐛 fix pattern format
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 committed Mar 21, 2023
1 parent a0c0f75 commit fcce38e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const getMetricFormatter = (

return ['bit', 'bytes'].includes(formatId)
? (rawValue: number) => {
return numeral(rawValue).format(`0,00 ${formatId === 'bytes' ? 'b' : 'bitd'}`);
return numeral(rawValue).format(`0,0[.]00 ${formatId === 'bytes' ? 'b' : 'bitd'}`);
}
: new Intl.NumberFormat(locale, intlOptions).format;
};
Expand Down

0 comments on commit fcce38e

Please sign in to comment.