Skip to content

Commit 21cc944

Browse files
committed
Update NumberFormating.js
1 parent b07ffdb commit 21cc944

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
@@ -155,7 +155,7 @@ function standardFormat(decimal) {
155155
prefix += symbols[1][e.div(10).floor().mod(10)]
156156
prefix += symbols[2][e.div(100).floor().mod(10)]
157157
if (first[e] != undefined) prefix = first[e]
158-
return (e.lt(50000) ? defaultFormat(decimal.div(new Decimal(10).pow(e.times(3)))) : "") + prefix
158+
return (e.lt(3000) ? defaultFormat(decimal.div(new Decimal(10).pow(e.times(3)))) : "1") + prefix
159159
}
160160

161161
setInterval(function() {

0 commit comments

Comments
 (0)