Skip to content

Commit

Permalink
0.4_1/2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
WiktorProj committed Sep 8, 2024
1 parent f39de79 commit 2336604
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 @@ -161,7 +161,7 @@ function standardFormat(decimal) {
decimal = new Decimal(decimal)
e3 = decimal.log10().div(3).floor()
if (formattingSymbols[1][e3.div(100).floor()] == undefined ) return defaultFormat(decimal)
return defaultFormat(decimal.div(new Decimal(1000).pow(e3)), e3.gt(0) ? 2 : 0) + formattingSymbols[0][e3.mod(100)] + formattingSymbols[1][e3.div(100).floor()]
return defaultFormat(decimal.div(new Decimal(1000).pow(e3)), e3.gt(0) ? 2 : 1) + formattingSymbols[0][e3.mod(100)] + formattingSymbols[1][e3.div(100).floor()]
}

setInterval(function() {
Expand Down

0 comments on commit 2336604

Please sign in to comment.