mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 01:03:01 +02:00
0518
This commit is contained in:
committed by
hydroflame
parent
9a9d2e1f81
commit
6dde89f3c4
@@ -139,7 +139,7 @@ class NumeralFormatter {
|
||||
return this.format(n, "0,0");
|
||||
}
|
||||
|
||||
parse(s: string): number {
|
||||
parseMoney(s: string): number {
|
||||
// numeral library does not handle formats like 1e10 well (returns 110),
|
||||
// so if both return a valid number, return the biggest one
|
||||
const numeralValue = numeral(s).value();
|
||||
|
||||
Reference in New Issue
Block a user