web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Enable comma or dot as...
Power Apps
Unanswered

Enable comma or dot as decimal separator

(1) ShareShare
ReportReport
Posted on by 4

Hi guys, hope you are doing well.

I'm having some issues with an app where the client sometimes puts commas and dots to define decimals but when it puts a dot, the number multiplies or something like that. 
I've searched several forums and solutions but none of them worked for me.

 

In my specific case, I need that the field on the table can take commas and dots as decimals whenever the user puts there.

 

I can't modify the data type or do anything else(or at least it escapes my knowledge).

Fedepuszko_0-1689358751481.png

 

I've also tried the text() function without success.

 

 

To demonstrate the issue, on the first case with comma it works well, but on the second when I put 100.5, the field is completed with 10.050,00. We need that it works the same as a comma.

Fedepuszko_1-1689359086927.png

 

 

 

 

Do you have any idea if this is possible in this instance? 
Thanks in advance.

 

Categories:
I have the same question (0)
  • PowerNuggets Profile Picture
    360 on at

    Hi @Fedepuszko 

     

    I believe the Decimal separator character is dependent on language. some regions of the world use "." as a decimal separator while others use ","

     

    You can try Text to change the format

     

    or

     

    Substitute(Number; ","; ".")

     

    more on the subject from this article
    https://learn.microsoft.com/en-us/power-platform/power-fx/reference/operators

     


    _____________________________________________________________________________________
    Like my answer? - Hit that Thumbs Up. Resolved the Issue? - Hit Accept as Solution.

     

    KR,

  • Fedepuszko Profile Picture
    4 on at

    Hi @PowerNuggets 
    THanks for your response. I forget to mention that both option, dots and commas must be usable.

    I'll keep trying alternatives. Thanks!

  • jfranciscose Profile Picture
    9 on at

    How did you solve it?

  • BG-17021635-0 Profile Picture
    2 on at
    Have you ever found a solution? :) 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard