Skip to content

Commit

Permalink
Update NumberFormating.js
Browse files Browse the repository at this point in the history
  • Loading branch information
WiktorProj committed Sep 8, 2024
1 parent b07ffdb commit 21cc944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MeTMT/js/utils/NumberFormating.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ function standardFormat(decimal) {
prefix += symbols[1][e.div(10).floor().mod(10)]
prefix += symbols[2][e.div(100).floor().mod(10)]
if (first[e] != undefined) prefix = first[e]
return (e.lt(50000) ? defaultFormat(decimal.div(new Decimal(10).pow(e.times(3)))) : "") + prefix
return (e.lt(3000) ? defaultFormat(decimal.div(new Decimal(10).pow(e.times(3)))) : "1") + prefix
}

setInterval(function() {
Expand Down

0 comments on commit 21cc944

Please sign in to comment.