A
A
amediagroup2016-05-15 20:37:07
PHP
amediagroup, 2016-05-15 20:37:07

How to correctly convert geo coordinates to the desired format?

Help a novice programmer)
I store geo-coordinates in a mysql table like decimal (18,14)
mask is 00.00000000000000
I get coordinates from Yandex in this form 69.295740
How to convert correctly to write to decimal (18,14)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Peter, 2016-05-15
@amediagroup

Normally and in double WGS 84 coordinates are stored. No need to convert

A
amediagroup, 2016-05-16
@amediagroup

Thank you, Peter!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question