Open abmagil opened 7 years ago
The spendingPerMonth field is displaying many decimals, as that is the calculated amount to spend on a per-month basis.
The field should be able to display simple integers, while keeping a backing field of sorts, which tracks the true number.
Alternatively, the whole system should be revamped to handle the fuzziness introduced by truncating off decimals.
Using AccountingJs or MoneyJS may help here
The spendingPerMonth field is displaying many decimals, as that is the calculated amount to spend on a per-month basis.
The field should be able to display simple integers, while keeping a backing field of sorts, which tracks the true number.
Alternatively, the whole system should be revamped to handle the fuzziness introduced by truncating off decimals.