format and lint

This commit is contained in:
Snarling
2022-10-01 15:15:36 -04:00
parent 9774235404
commit 3addda7173
6 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ class NumeralFormatter {
if (n === Infinity) return "∞";
for (let i = 0; i < extraFormats.length; i++) {
if (extraFormats[i] < nAbs && nAbs <= extraFormats[i] * 1000) {
return this.format(n as number / extraFormats[i], "0." + "0".repeat(decimalPlaces)) + extraNotations[i];
return this.format((n as number) / extraFormats[i], "0." + "0".repeat(decimalPlaces)) + extraNotations[i];
}
}
if (nAbs < 1000) {