Fix negative result
ticianomorvan opened this issue · comments
When the earnings are lower than the losts, the result becomes negative, causing the BCSS to be wrong.
Using Math.abs()
can be an easy way to solve this problem.
Generador de Balance de Comprobación de Sumas y Saldos (S.I.C.)
ticianomorvan opened this issue · comments
When the earnings are lower than the losts, the result becomes negative, causing the BCSS to be wrong.
Using Math.abs()
can be an easy way to solve this problem.