how to store pricing (anyone have any helpers for price data?) |
[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 |
Welcome Guest, Not a member yet? Register Sign In |