float and double datatype is good to store latitude and longitude? [duplicate]
问题 This question already has answers here : What is the ideal data type to use when storing latitude / longitude in a MySQL database? (21 answers) Closed 4 years ago . I am storing latitude and longitude at the server side (JAVA Platform). To store those values, I am using float and double datatype at the server side. I came to know that float and double are not a recommended primitive datatypes (which is not recommended to use currencies in professional way), because float and double having