cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate I
Advocate I

Round/Shorten location value

Hi guys,

in my app I want to match the location value with a sharepoint list in order to auto fulfill data. 
Is it possible to cut of the last 3 numbers of the longtitude and latitude value?

Cheers
Julian 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Hi @servicesGB95 

Round(), RoundUp() and RoundDown() all can be used for numeric data. The number of decimal places is set as the second element of the function: RoundNumberDecimalPlaces ). I have no idea if it can be used on location values.  It will work on a whole column in a single column table.  see https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-round  for more details on Round() and the related functions. 

View solution in original post

1 REPLY 1
Super User II
Super User II

Hi @servicesGB95 

Round(), RoundUp() and RoundDown() all can be used for numeric data. The number of decimal places is set as the second element of the function: RoundNumberDecimalPlaces ). I have no idea if it can be used on location values.  It will work on a whole column in a single column table.  see https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-round  for more details on Round() and the related functions. 

View solution in original post

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (26,365)