Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Format a variable value as number with comma separator

(0) ShareShare
ReportReport
Posted on by

Hello

 

I have been trying a lot to show a number variable with the proper number format (with comma separator) in the chat, and I cant figure it out how to do it. I tried creating a second flow to run the format numbering function. I but still unable to get the format ###,###.00

 

Any idea on how to do this????

 

Miguebot_0-1627349640073.png

Miguebot_1-1627349734281.png

 

Miguebot_2-1627349831121.png

 

 

 

Categories:
  • Expiscornovus Profile Picture
    31,711 Most Valuable Professional on at
    Re: Format a variable value as number with comma separator

    Hi @Anonymous,

     

    In one of your action flows, probably the Number format, you could use a compose action and an expression. In that expression you can use a float and a formatnumber function with the N format.

     

    Below is an example of such an approach.

     

    formatNumber(float(variables('Promnum')), 'N')

     

    nformat_formatnumber.png

     

    The result would be this:

    result_formatnumber.png

     

     

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#1
Pablo Roldan Profile Picture

Pablo Roldan 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard