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.
@svivek see your expression-
Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.
@Hardesh15 .Apologies .Yes I am new to power automate and this community.
I have shared the flow screenshot below:
@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.
@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 Still your expression is wrong. See comma is missing.
Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.
@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.
@svivek Pls share screen with expression.
Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.
@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?
@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.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2