mardi 11 juillet 2017

Get coordinate of marker and limit the values Google Maps

I'm using google maps on my laravel 5.4 project .

I need to to save coordinate ( lat and long) of markers on map, I can do it but when I save it to database it saves too long number like : (35.690833660667444, 51.39251243323088)

now I want to limit this number to 6 characters like this : (35.690833, 51.392512)

but I don't know how , please help me. thanks for any help ;) .



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2u46F3s
via IFTTT

Aucun commentaire:

Enregistrer un commentaire