Mission format rep earned with 0.000a

This commit is contained in:
Olivier Gagnon
2021-03-20 03:54:52 -04:00
parent 26149d5a01
commit 2507899762
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -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}`;