Skip to content

Commit 2336604

Browse files
committed
0.4_1/2.0.2
1 parent f39de79 commit 2336604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MeTMT/js/utils/NumberFormating.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function standardFormat(decimal) {
161161
decimal = new Decimal(decimal)
162162
e3 = decimal.log10().div(3).floor()
163163
if (formattingSymbols[1][e3.div(100).floor()] == undefined ) return defaultFormat(decimal)
164-
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()]
164+
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()]
165165
}
166166

167167
setInterval(function() {

0 commit comments

Comments
 (0)