Problem Storing Latitude and Longitude values in MySQL database

前端 未结 7 876
逝去的感伤
逝去的感伤 2020-12-24 03:19

I want to store the values of latitude and longitude fetched from Google Maps GeoCoding API in a MySQL database. The values are in float format.

12.92

7条回答
  •  心在旅途
    2020-12-24 03:55

    The optimal setup in my experience is DOUBLE(11,8), keep in mind that lat/lng could be > 99

提交回复
热议问题