I need to declare a field call “version”, but am not sure what data type to use.
My “version” is something like “11.04”. I am considering “double” as a good candidate.
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.
double is probably a bad idea, unless you are planning on using a Knuth-style version converging on an irrational number. What’s wrong with an array of int, or a character string?