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

[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!


Messages In This Thread
how to store pricing (anyone have any helpers for price data?) - by El Forum - 11-16-2009, 02:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB