Hotfix negative money, n00dles metadata and guide

This commit is contained in:
Olivier Gagnon
2021-05-03 16:02:26 -04:00
parent 08aac8e35d
commit b99711788f
4 changed files with 12 additions and 21 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ class NumeralFormatter {
}
formatMoney(n: number): string {
if(n < 1000) {
if(Math.abs(n) < 1000) {
return this.format(n, "$0.00");
}
return this.format(n, "$0.000a");