Skip to content

Commit

Permalink
roundCount
Browse files Browse the repository at this point in the history
  • Loading branch information
LeldeLace committed Dec 10, 2024
1 parent a30c922 commit 420d2e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/imports/client/custom/vq/templates/VQ_DSS_schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,7 @@ function roundCount(cnt) {
}
else {
cnt = Number(cnt);
const formatter = Intl.NumberFormat('en', { notation: 'compact' });
const formatter = Intl.NumberFormat('en', { notation: 'compact', maximumSignificantDigits: 3 });
return formatter.format(cnt);
//if ( cnt < 10000)
// return cnt;
Expand Down

0 comments on commit 420d2e7

Please sign in to comment.