mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 19:37:07 +02:00
Mission format rep earned with 0.000a
This commit is contained in:
@@ -37,7 +37,6 @@ class NumeralFormatter {
|
||||
format(n: number, format: string): string {
|
||||
// numeraljs doesnt properly format numbers that are too big or too small
|
||||
if (Math.abs(n) < 1e-6) { n = 0; }
|
||||
console.log(`${n}: ${numeral(n).format(format)}`);
|
||||
const answer = numeral(n).format(format);
|
||||
if (answer === 'NaN') {
|
||||
return `${n}`;
|
||||
|
||||
Reference in New Issue
Block a user