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 Automate / Convert American forma...
Power Automate
Unanswered

Convert American format numbers to European format

(0) ShareShare
ReportReport
Posted on by 17

Hi all,

 

I am creating an automatic report based on values which are created in Microsoft list. The Microsoft list contains float values with comma for decimal values (so 4,73 instead of 4.73). When I run my script it however returns the values in an American format (so 4.73 instead of 4,73). I've tried to use formatNumber but it sends back a string value. After converting it to a float it just removes the , (so 4,73 becomes 473).

 

Ideally I wouldn't need to convert anything as the values in my Microsoft list are already in the right format. But somehow power automate doesn't see it that way.

 

The output of a report can be seen in attachment as well as some values of my Microsoft list

Categories:
I have the same question (0)
  • Verified answer
    Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at

    Hi @jasper_g ,

     

    I have Created sample For You.

     

    Amit_Sharma_0-1671308719351.png

     

    Please Use this Expression to Convert American format numbers to European format.

     

    formatNumber(triggerOutputs()?['body/TestFNumber'], '0,0', 'is-is')

     

    Amit_Sharma_1-1671308827697.png

    Amit_Sharma_2-1671309506473.png

     

    Amit_Sharma_3-1671309612948.png

     

    -----------------------------------------------------------------------
    If Did I answer your question? Please Mark my post as a solution
    If you liked my response, please consider giving it a thumb up

     

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard