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 / Remove unwanted charac...
Power Automate
Unanswered

Remove unwanted characters - string

(1) ShareShare
ReportReport
Posted on by

Hi,

 

Hoping someone can help with a new problem I'm facing.

 

I'm trying to convert a string (data is captured using MS Forms, the respondent can only enter numbers) to an integer by using the compose action. The action fails when someone enter a decimal of a number e.g. 3.2

 

How can I still convert the string to a number when there's a decimal involved?

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,858 Most Valuable Professional on at

    Hi @Anonymous 

     

    If you want to convert a string value (eg:3.2) to decimal then you need to use float() expression.

     

    Thanks

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard