ip2location_latitude and ip2location_longitude strips decimals
tjegan opened this issue · 4 comments
tjegan commented
ip2location_latitude and ip2location_longitude are not showing the full value with decimals.
It strips the decimals.
chaizhenhua commented
hi @tjegan , thanks for your report. could you show me some example value of ip2location_longitude?
tjegan commented
For example, The latitude and longitude of IP 115.111.23.215 should be 12.976230 and 77.603290 but ngx-ip2location returns 12 and 77 where as the ip2location database has value of 12.976230, 77.603290
chaizhenhua commented
tjegan commented
Thanks! It works as expected.