ticianomorvan / bcss-maker

Generador de Balance de Comprobación de Sumas y Saldos (S.I.C.)

Home Page:https://ticianomorvan.me/bcss-maker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.