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 / Convert text to number...
Power Apps
Answered

Convert text to number format

(0) ShareShare
ReportReport
Posted on by 169

Hello,

In my power app I need to convert text from this format "756.315,22" to this "756,315.22" (or from "55.220" to "55,220") in order to always have decimals depicted after point and thousands before comma.

I've already tried [Text( CurrencyColumnName, "[$-en-US]$ #.00" )] with absolutely no luck.

Any other suggestions?

Thank you in advance.

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,799 Most Valuable Professional on at

    Hi @Iro_ ,

    A bit messy, but this will do it

    Text(
     Value(
     Substitute(
     Substitute(
     CurrencyColumnName,
     ",",
     ""
     ),
     ".",
     ""
     )
     ),
     "[$-en-US]$#,###,##.00"
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Iro_ 

    Another option you might consider is to convert the number from the language it is in to the one you want.

     

    ex. :  Text(Value(CurrencyColumnName, "es-ES"), "$#,##0.00")

     

    Will produce $756,315.22  from "756.315,22"

     

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Iro_ :

    Just some supplements,you could try:

    Text(Value("756.315,22","de"),"#,#.##")

    Best Regards,

    Bof

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 538

#2
WarrenBelz Profile Picture

WarrenBelz 420 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard