Select to view content in your preferred language

Lat/Lon and add decimal places - how to add decimal places with Arcade expression

499
1
Jump to solution
12-12-2022 04:15 PM
TimHayes3
Frequent Contributor

I have Latitude and Longitude values that show up as whole numbers. What is the best way to create an Arcade expression that expands the decimal places at least 4? 

0 Kudos
1 Solution

Accepted Solutions
jcarlson
MVP Esteemed Contributor

Are they actually stored as whole numbers? What does the underlying table look like?

Check out the Text function. https://developers.arcgis.com/arcade/function-reference/text_functions/#text

return Text($feature.lat, '#.0000')
- Josh Carlson
Kendall County GIS

View solution in original post

1 Reply
jcarlson
MVP Esteemed Contributor

Are they actually stored as whole numbers? What does the underlying table look like?

Check out the Text function. https://developers.arcgis.com/arcade/function-reference/text_functions/#text

return Text($feature.lat, '#.0000')
- Josh Carlson
Kendall County GIS