[TYPO3-shop] install webformat shop 1.20 error
Karsten Dambekalns
karsten at typo3.org
Thu Apr 13 10:08:02 CEST 2006
Hi.
Mauro Lorenzutti wrote:
> fields of type float are not correctly managed. I didn't change the
> field definition in the file ext_tables.sql because this is the
> correct definition for price, weight ecc. and so I'm waiting for the
> correction of the TYPO3 bug.
If you want to avoid roudning errors, you're better off with integers
storing cents, pennies, ... and always to non-float math operations on
those. Read the manual for the moneylib for a little background.
Sooner or later the mentioned bug will be fixed, though. Rather sooner, than
later.
Karsten
More information about the TYPO3-project-tt-products
mailing list