Re: Quantity as Decimal

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Quantity as Decimal

It'd be a pretty major change. First you have to update the database columns, then you have to change the SQL statements to insert the numbers as floats (%f) instead of integers (%d). Then you get into the issue of figuring out just how small a quantity you will allow to be entered. Comparing floats is never exact, especially when one of them is 0.

Quantity as Decimal By: cYu (14 replies) Tue, 01/08/2008 - 18:09