cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
servicesGB95
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
Drrickryp
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
Drrickryp
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
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

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

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (28,748)