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 Automate / Problem with text vari...
Power Automate
Unanswered

Problem with text variable

(0) ShareShare
ReportReport
Posted on by 26

I have a variable with a numerical value of 846.7 and I convert it from number to text but when I do that conversion it removes the dot and leaves me the number 8467. How can I create a text variable or convert it from number to text and keep the format 846.7?

 

Thank you very much for your time.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @speedhb90 

     

    could you share a screenshot of your flow , for me convert number to text worked fine as expected 🙂

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • cwischnewski Profile Picture
    162 on at

    What action are you using to convert.  There are actually a few different ways to do that conversion.

     

    One is an implied conversion.  Set a text variable equal to something like %numOriginal + ''%.  Using a plus sign with a string will trigger the implied conversion.

     

    Another is the action under the Text section called Convert Number to String in which case you can specify the number of digits after the decimal to keep and whether to use a thousands separator.

     

    My guess is that you are using the Recognize entities in text action and only pulling numeric characters out.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Are you regionally in a place where . represents thousands, millions, etc.

     

    For the US:  846,700 for instance would ignore the , and just be 846700.  I wonder if that is what is going on.  If so, you may need to replace . with , before converting or something to that effect.

    Good luck!

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    This is a common thing in PAD, where it is tricky to work properly with regional settings. In some funky cases, I've even seen the variable pane actually showing a numeric value as 2.000000, but then after double-clicking the same value, it was actually 2,000000 in the preview.

     

    I recommend using Replace text to replace the dot with a comma before using Convert text to number. If that doesn't work, do the opposite - replace a comma with a dot (I know this seems counter-intuitive, if your variable has a dot in there already, but try it.). If that also doesn't work, try doing both - first replace the dot, and then do the opposite. Do some trial and error experimentation until you find the correct sequence that works for you.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 259 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 134 Super User 2026 Season 2

Last 30 days Overall leaderboard