mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-17 10:23:44 +01:00
Fixed absurdly high skill counter on UI
This commit is contained in:
@ -75,8 +75,11 @@ class NumeralFormatter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
formatSkill(n: number): string {
|
formatSkill(n: number): string {
|
||||||
|
if(n < 1e15){
|
||||||
return this.format(n, "0,0");
|
return this.format(n, "0,0");
|
||||||
}
|
}
|
||||||
|
return this.formatAbsurdNumber(n, 3);
|
||||||
|
}
|
||||||
|
|
||||||
formatExp(n: number): string {
|
formatExp(n: number): string {
|
||||||
return this.formatAbsurdNumber(n, 3);
|
return this.formatAbsurdNumber(n, 3);
|
||||||
|
Reference in New Issue
Block a user