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 Automate
Answered

Calculate 90 to 1.5

(0) ShareShare
ReportReport
Posted on by 505

I found this post on converting calendar dates to minutes, hours, or days here.  It almost did what I wanted for hours. I found that if one event was 30 minutes, the hours would be "0" and 90 minutes, the hours would be "1". It always rounds back.

 

What I am wondering and maybe there is a better way of doing this, but how can I calculate those minutes to hours to show with a decimal. So if it is 90 minutes it should be 1.5 hours.

Categories:
  • Verified answer
    send2mark Profile Picture
    505 on at

    I found this that worked for me. (Float)

    div(float(outputs('ComposeDiff')),60)

     

    ComposeDiff is a Compose action that contains the total minutes. Then I was to divide by 60 and inserting Float provided the decimal. 

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
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard