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

Notifications

Announcements

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?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard