Skip to main content

Notifications

Community site session details

Community site session details

Session Id : BEStS31bkkZOzITsP7TxnV
Power Automate - Building Flows
Unanswered

Working with Floats

Like (0) ShareShare
ReportReport
Posted on 22 May 2017 13:59:36 by 356

If you are trying to use any mathmateical functions with floats, what is the best way to work with those numbers given the functions all seem to require integers?

  • WiggityZwiggity Profile Picture
    356 on 26 May 2017 at 19:33:42
    Re: Working with Floats

    I guess what I mean is, if I have a float but I need an integer for other integer only functions (like adding time to a date) and I have a float (i.e. 10.345) and I need (10) how can I just get '10' vs '10.345' so an addhours function would work?

  • v-micsh-msft Profile Picture
    on 23 May 2017 at 07:25:00
    Re: Working with Floats

    Hi @WiggityZwiggity,

     

    Would you please share more information about the functions?

    In Microsoft Flow, we could take use Workflow Definition Language to work with the items, and there are Math functions defined under WDL, please check and see if those functions could be used in your scenario:

    Workflow Definition Language schema for Azure Logic Apps

     

    Also there are functions available to convert the data type in WDL:

    int()

    Float()

    Would be able to convert the number into Integer or Float type.

     

    Please post back if you need any further assistance on this.

    Regards,

    Michael

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 161 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 148 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 139

Overall leaderboard
Loading started