web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Div() ... neger give D...
Power Automate
Unanswered

Div() ... neger give Decimals

(1) ShareShare
ReportReport
Posted on by 39

Hi Power Mates !
I'm using add() & div() to calculate and update fields in Azure WorkItems ...
I just face a little unundertsable result. 
I never get decimals from the div(a,b) fonction.
The Work Itel Field is a decimal input box, and the va is initialize as a flots in the Flow.

But no way to get decimals 😞
Very thanks for help & Take Care
Joe

Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,856 Most Valuable Professional on at
    Re: Div() ... neger give Decimals

    Hi @JoeALVES 

     

    The rule is at least one number should be float to get the decimals.

     

    image.png

     

    or div(float(5),2)

     

  • JoeALVES Profile Picture
    39 on at
    Re: Div() ... neger give Decimals

    You win again @abm ! very thanks, allow me a last question around the decimals ; now i get long floats ex : 2,34343434; no fuvntion to define only 2 decimals ?

  • Verified answer
    abm abm Profile Picture
    32,856 Most Valuable Professional on at
    Re: Div() ... neger give Decimals

    Hi @JoeALVES 

     

    Try this

     

    image.png

  • JoeALVES Profile Picture
    39 on at
    Re: Div() ... neger give Decimals

    You 'Win' again @abm ! Very 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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard