Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ncb7/wEnbr8s2BIwArc0RQ
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,011 Most Valuable Professional

Leaderboard
Loading started