how to store pricing (anyone have any helpers for price data?) |
[eluser]Aken[/eluser]
I disagree with stommert. A float has always worked fine for me when dealing with e-commerce (which is every day). A decimal may eliminate some extended remainder issues, but you should always sanitize your entries with PHP before applying them anywhere regardless of format. The PHP function number_format() works great! |
Welcome Guest, Not a member yet? Register Sign In |