In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Shortening latitude and longitude data to 5 decimal places?

haro5971
5 - Atom

I have latitude and longitude data that goes out to 10 or 15 decimal places, and I'm trying to narrow it down to 5 decimal places. What tool do I use? The formula node? What expression should I be using to accomplish this?

 

Thank you in advance,

 

haro5971

3 REPLIES 3
chris_love
12 - Quasar
A formula of round([latitude],0.00001) would do it.
RodL
Alteryx Alumni (Retired)

Or if you are looking to just truncate it, you can drop in a Select tool and change the data type to Fixed Decimal and indicate the number of decimals.

haro5971
5 - Atom

Beautiful, it worked! Thank you so much.

Labels
Top Solution Authors