I vote for this. I also read Lyle's post at http://www.ubercart.org/comment/10001/Re_Quantity_Decimal (link provided by cYu at the top of this thread) and I think his concern about rounding errors with floats, while technically valid, doesn't really apply to the kind of scenarios Ubercart will commonly be used in. Rounding errors are typically several decimal places to the right, and once you get past the hundredths place in a decimal number, it's pretty hard to tell the difference, either visually or with any widely available measuring instrument. If someone orders 1.5 yards of fabric, and they actually end up getting 1.489023481 or whatever, do you really think the customer will notice or even care? Of course there are times when even that small margin of error is unacceptable (maybe you want to enable customers to order exactly 400.43580021 grams of enriched uranium for... whatever reason), but if you're in that situation, you wouldn't be using Ubercart for your selling needs anyway.
#18
Wed, 06/02/2010 - 05:35
#1
#18
Abiility to have decimal quantities By: Dan-902 (42 replies) Thu, 08/14/2008 - 15:43
- #43 By: alfthecat (03/19/2012 - 16:28)
- #42 By: mstrelan (08/19/2010 - 18:42)
- #41 By: satrapa (08/19/2010 - 06:37)
- #40 By: mstrelan (08/17/2010 - 19:27)
- #39 By: satrapa (08/17/2010 - 07:33)
- #38 By: gav643 (08/17/2010 - 02:35)
- #37 By: mstrelan (08/17/2010 - 01:46)
- #36 By: mstrelan (08/15/2010 - 18:46)
- #35 By: satrapa (08/13/2010 - 04:51)
- #34 By: mstrelan (07/07/2010 - 19:10)
- #33 By: gav643 (07/07/2010 - 03:08)
- #32 By: mstrelan (07/06/2010 - 19:22)
- #31 By: gav643 (07/06/2010 - 16:52)
- #30 By: mstrelan (07/05/2010 - 18:46)
- #29 By: gav643 (07/05/2010 - 13:56)
- #28 By: gav643 (06/30/2010 - 04:36)
- #27 By: mstrelan (06/29/2010 - 19:17)
- #26 By: gav643 (06/29/2010 - 17:26)
- #25 By: gav643 (06/28/2010 - 03:11)
- #24 By: mstrelan (06/27/2010 - 18:37)
- #23 By: gav643 (06/27/2010 - 16:38)
- #22 By: Dan-902 (06/16/2010 - 15:55)
- #21 By: pgacv2 (06/15/2010 - 16:56)
- #19 By: mstrelan (06/14/2010 - 18:39)
- #18 By: pgacv2 (06/02/2010 - 05:35)
- #17 By: mstrelan (03/14/2010 - 20:56)
- #16 By: dudy (02/16/2010 - 23:58)
- #15 By: 100IT (02/15/2010 - 19:29)
- Workaround without hacking Ubercart By: mstrelan (12/02/2009 - 18:45)
- further mods By: mstrelan (12/02/2009 - 21:27)
- metric only i presume... By: j.mead (12/02/2009 - 22:08)
- thanks for the feedback By: mstrelan (12/03/2009 - 19:01)
- thank you for the module! By: beb (01/16/2010 - 18:37)
- Updated version By: mstrelan (01/17/2010 - 18:49)
- futher developing for weight support By: cristianmos (01/18/2010 - 13:42)
- @cristianmos
At the moment I By: mstrelan (01/18/2010 - 18:44)
- Re: @cristianmos At the moment I By: cristianmos (01/19/2010 - 06:07)
- @cristianmos
At the moment I By: mstrelan (01/18/2010 - 18:44)
- Core By: Dan-902 (01/17/2010 - 18:56)
- futher developing for weight support By: cristianmos (01/18/2010 - 13:42)
- Updated version By: mstrelan (01/17/2010 - 18:49)
- thank you for the module! By: beb (01/16/2010 - 18:37)
- thanks for the feedback By: mstrelan (12/03/2009 - 19:01)
- metric only i presume... By: j.mead (12/02/2009 - 22:08)
- further mods By: mstrelan (12/02/2009 - 21:27)
- Code and Database Changes By: robdinardo (11/13/2009 - 17:09)
- decimal quantities By: Dan-902 (01/14/2009 - 14:14)
- Re: decimal quantities By: cYu (01/14/2009 - 15:14)
- Fractions By: Dan-902 (01/15/2009 - 00:14)
- Re: decimal quantities By: cYu (01/14/2009 - 15:14)
