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 / Convert Float to Integ...
Power Automate
Answered

Convert Float to Integer Ms Flow in addDays Expression

(1) ShareShare
ReportReport
Posted on by 153

I have column in SharePoint list with type data Number.

6.png

 

I want convert from float to integer, because showing error message at my flow:

4.png

 

 

 

 

Please Check My Flow:

7.png5.png

 

How to convert from type data Number to Float (base on to error message). Because I want create calculated Planned Due Date = addDays(utcNow() + estimated sailing in duration. Thanks

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at

    hi @krfajar please add int() and inside it your current expression like int('Here your current expression')

  • krfajar Profile Picture
    153 on at

    Hi @

     

     

     

     

     

     
  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @krfajar,

     

    Does your Float number contain decimal places? If not, you could put the int() function into the second parameter of addDays() function:

    addDays(utcNow(),int(variables('Float')),'yyyy-MM-dd')

    Annotation 2020-08-14 094958.jpg

     

    If it contains, you should remove the decimal part, for example:

    first(split(string(variables('Float')),'.'))
    addDays(utcNow(),int(outputs('Compose_2')),'yyyy-MM-dd')

    Annotation 2020-08-14 132214.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 607

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard