I am wondering what data type I should use for storing 11.1234 in mySql?
I am not sure if I should use varchar or int. There is also some decimal data types.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
FLOATorDECIMALis probably best.From the MySQL manual: