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

Community site session details

Session Id : /R+UxMhKuEWldyLCu8Uqtu
Power Automate - General Discussion
Answered

How to remove comma from an integer

Like (1) ShareShare
ReportReport
Posted on 13 Jul 2022 04:55:44 by 65

I have a question: Is it possible to remove comma from a number value and convert that decimal number to whole number in power automate platform. For example: I want to convert 1,27.89 to 128. Here I want to remove comma after 1,2XX and covert the decimal number 127.89 to 128. Please note that the value should remain as integer only and not string.

I have the same question (0)
  • Verified answer
    Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on 15 Jul 2022 at 08:06:48
    Re: How to remove comma from an integer

    @svivek  see your expression-

    Hardesh15_0-1657872394481.png

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • svivek Profile Picture
    65 on 15 Jul 2022 at 08:04:53
    Re: How to remove comma from an integer

    @Hardesh15 .Apologies .Yes I am new to power automate and this community.

    I have shared the flow screenshot below:

    svivek_2-1657872135995.png

    svivek_3-1657872185010.png

     

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on 15 Jul 2022 at 07:34:17
    Re: How to remove comma from an integer

    @svivek pls share format number screen and expression.

    I will simply ask one question from you what do you understand just sharing output? are you new to power automate? OR just started using automation. Such question helps us to give solution in that way. 

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

     

     

     

  • svivek Profile Picture
    65 on 15 Jul 2022 at 07:19:07
    Re: How to remove comma from an integer

    @Hardesh15 Noted and thanks the expression has been accepted now. However when i am running the flow then following error is shown. Pls advice

    svivek_0-1657869464426.png

     

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on 15 Jul 2022 at 06:51:54
    Re: How to remove comma from an integer

    @svivek Still your expression is wrong. See comma is missing. 

    Hardesh15_0-1657867869696.png

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

     

  • svivek Profile Picture
    65 on 15 Jul 2022 at 06:47:02
    Re: How to remove comma from an integer

    @Hardesh15 Pls refer below flow:

    svivek_0-1657867558341.png

     

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on 15 Jul 2022 at 06:30:20
    Re: How to remove comma from an integer

    @svivek  Also why extra quotes around output()- 'outputs('Compose')' you need to use only outputs('Compose')

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on 15 Jul 2022 at 06:27:04
    Re: How to remove comma from an integer

    @svivek Pls share screen with expression.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • svivek Profile Picture
    65 on 15 Jul 2022 at 06:20:43
    Re: How to remove comma from an integer

    @Hardesh15  tried closing tabs and started a fresh session.

    Additionally created compose and passed on the string value to format number function as :

    float(replace('outputs('Compose')',','''))

    Still it shows expression in valid.

    Is there any other option?

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on 15 Jul 2022 at 05:51:12
    Re: How to remove comma from an integer

    @svivek  Do one thing use one compose and pass your pump data value in it. Then try it. Also sometime you have opened tab for long time it cached previous session. So refresh your tab and then try.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 707 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 499 Moderator

#3
chiaraalina Profile Picture

chiaraalina 312

Last 30 days Overall leaderboard
Loading complete