OK this is probably a basic question, but in this post here, you mention that Price needs to be a float; I created a Price field but chose 'integer'.... so my question is: what is 'float' and how can I rectify this now without having to create a new Price field and go through my templates again?
Float is floating point, which means anything with a decimal. If you want non-integer numbers (as are conventional in currency for indicating cents as well as dollars), you want float.
Comments on price field: what is a 'float'?
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
OK this is probably a basic question, but in this post here, you mention that Price needs to be a float; I created a Price field but chose 'integer'.... so my question is: what is 'float' and how can I rectify this now without having to create a new Price field and go through my templates again?
Thanks!
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Float is floating point, which means anything with a decimal. If you want non-integer numbers (as are conventional in currency for indicating cents as well as dollars), you want float.
Use phpmyadmin to edit field types.
Forum Regular
Usergroup: Customer
Joined: Aug 05, 2005
Total Topics: 94
Total Comments: 272
cool, thanks