cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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.
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.
Highlighted
Asy
Level: Powered On

Re: How to change coma into point ?

@RandyHayes ,

 

Thank you ! It's working great Smiley Happy

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 119 members 4,806 guests
Please welcome our newest community members: