Hi, I need some help please i am confuse what datatype should i set to my table,if I stored this kind of data
20.17%
Is it okay to use varchar for this kind of data?
Thank you in advance.
Hi, I need some help please i am confuse what datatype should i set to my table,if I stored this kind of data
20.17%
Is it okay to use varchar for this kind of data?
Thank you in advance.
You don’t need to store the % symbol
MySQL? DECIMAL should work http://dev.mysql.com/doc/refman/5.0/en/fixed-point-types.html
standards-compliant dbms? DECIMAL will work
yes
Thank you so much
you can use “float” for storing the data of such type
no
FLOAT is an approximate datatype, not useful unless the numbers are extremely small or extremely large, and not the same as DECIMAL