mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 06:32:26 +01:00
Merge pull request #966 from danielyxie/dev
Hotfix number of decimal for very large numbers
This commit is contained in:
commit
04921520d8
2
dist/engine.bundle.js
vendored
2
dist/engine.bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -57,7 +57,7 @@ class NumeralFormatter {
|
||||
return this.format(n, "$0.00");
|
||||
}
|
||||
const str = this.format(n, "$0.000a");
|
||||
if(str === "$NaNt") return '$'+this.format(n, '0.000e0');
|
||||
if(str === "$NaNt") return '$'+this.format(n, '0.000e+0');
|
||||
return str;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user