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 / Zero Value Not Int or ...
Power Automate
Answered

Zero Value Not Int or Float

(0) ShareShare
ReportReport
Posted on by 46

I am not understanding how a value of zero (0) fails both the isInt and isFloat.

 

isInt is saying the zero (0) is of type 'Float' and isFloat says it is of type 'Float', but isFloat still throws an error. Isn't the whole point of isFloat to confirm that it is in fact 'Float'?

 

jmfillman_0-1676439325265.png

 

Categories:
  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @jmfillman ,

     

    The reason why your formula is wrong is that the parameter required by isInt() and isFloat() is a string, but the 0 you input in compose is a number type, when you use String() to convert 0 into a string and put it in In isInt() and isFloat(), you will find that 0 is both Int and Float.

    vdezhilimsft_0-1676447844159.png

    vdezhilimsft_1-1676447872533.png

     

    Best Regards,

    Dezhi

     

     

  • jmfillman Profile Picture
    46 on at

    Thank you for the reqponse! I'm not actually entering a zero value in the compose, it is from an Excel table, which is sometimes 0, 0.00, Null, or actual float value such as 1875.46, and trying to normalize all types to add together, but struggling to do so.

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

    Hi @jmfillman ,

     

    Do you want to add all the numbers in a certain column in your excel table?
    please try:

    vdezhilimsft_0-1676451433013.png

    vdezhilimsft_1-1676451497636.png

     

    vdezhilimsft_2-1676451517363.png

    vdezhilimsft_3-1676451555460.png

    vdezhilimsft_4-1676451581879.png

     

     

    Best Regards,

    Dezhi

  • jmfillman Profile Picture
    46 on at

    Thank you, this was quite helpful.

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard