You should DECIMAL(10,7) use DECIMAL(10,7) to keep the longitude value with 7 decimal places: Β±179.1234567 . The FLOAT data type is used to represent approximate values ββfor numeric data, where, on the other hand, you can instead store exact values ββwith the DECIMAL data DECIMAL .
source share