ConsoleTVs/Invoices

totalPrice is calculated from string version of subTotalPrice

marecektn opened this issue · 3 comments

When using different decimal separators (like , or .) sometimes tax and total sum is calculated to zero.
This issue only occurs when subTotalPrice is over 1000 thus using format_number that adds , after thousands (1,234.00)

This is string is used for calculating total price, which ends up to be 0.

CN you paste a code to reproduce it?

Thanks!!

made pull request
#7

Perfect!