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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (19,973)