Topic: Division by zero in sales invoice

I receive these errors:

Division by zero in file: /.../front/sales/includes/sales_db.inc op lijn74
--------------------------------------------------------------------------------
Division by zero in file: /.../front/sales/includes/sales_db.inc op lijn80

And found out it was caused by the setting 'round to nearest cents' to zero '0' (dont know the real english text).

Better to validate the setting not to be zero.

Re: Division by zero in sales invoice

Thanks for pointing this out. Will be fixed asap.

/Joe

Re: Division by zero in sales invoice

Fixed in CVS Main repository on
Affected file /admin/company_preferences.php

/Joe