like-gold•2y ago
Fetching Lat & Lng in a variable but full length
Hi, I would like to fetch Lat & Lng of a bus stop with the help of Google Maps API. Sending a request to the API I will get for example a lat = 51.281410880291496. Saving this lat into a variable the variable will only show 51.28 and not more...
But I need all the digits after the period.
How can I fix that?


2 Replies
You need to set it to a string. save the whole response and the use a JS step to set your lat & lng vars using pathToVar.toString().
like-goldOP•2y ago
Thank you so much, I will try 🙂
It works, thank you so much 🙂