Welcome Guest, Not a member yet? Register   Sign In
how to store pricing (anyone have any helpers for price data?)
#4

[eluser]Jondolar[/eluser]
You typically want to use decimal with currency fields because you can/will lose precision in a float field. Plus, floats make it harder to do simple comparisons after doing calculations since you might end up with 5.49999999 instead of 5.5.

Here is a nice reference I found:
http://www.hgarland.com/integers_vs_floating_points


Messages In This Thread
how to store pricing (anyone have any helpers for price data?) - by El Forum - 11-12-2009, 01:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB