cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Asy
Level: Powered On

How to change coma into point ?

Hi everyone,

 

I would like to create a map with a precise position using Location.Latitude and Location.Longitude, the issue is my PowerApps is in french so the coordinate appears like "48,8891395" so when I clicked on my image control to go to Google Map it says that there is no place found beacause of ",".

 

If I put "." manually it works, I would like to "convert" my "," into ".". How is it possible ? 

 

I tried this formula "Text(Location.Longitude;"[$-en]")&"."&Text(Mod(Location.Longitude;1)*1000000;"[$-en]")" but the coordinate change to "48,8891395" to "49.889119" why that change ? 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: How to change coma into point ?

@Asy 

You might look at the substitute function for this.

 

Substitute(Text(Location.Longitude), ",", ".")

I hope that is a quick help for you.

 

EDIT: that was assuming that the value in your longitute is with the comas.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: How to change coma into point ?

@Asy 

You might look at the substitute function for this.

 

Substitute(Text(Location.Longitude), ",", ".")

I hope that is a quick help for you.

 

EDIT: that was assuming that the value in your longitute is with the comas.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Asy
Level: Powered On

Re: How to change coma into point ?

@RandyHayes ,

 

Thank you ! It's working great 🙂

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 259 members 6,092 guests
Please welcome our newest community members: