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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Suggested Answer

Floating Point Error

(1) ShareShare
ReportReport
Posted on by 4
Hi all,
 
I'm wondering if there's a standard practice for dealing with Decimal calculations to avoid 'floating point errors'. I don't have a history in computer science, so previously I've just bodged any calculations with decimals with a 'round' expression. I had previously only encountered this issue with Power Automate reading decimal calculations from excel, but today I discovered the same issue can arise from Power Automate.
 
I'm just wondering if there is some step/function/etc. I'm missing when working with decimals, or if the standard is just adding a round function to every decimal 'increment' action or decimal calculation expression? 
 
 
Any suggestions\advice\best practises much appreciated,
 
Thanks,
 
Michalel
Categories:
I have the same question (0)
  • Suggested answer
    SwatiSTW Profile Picture
    741 Super User 2025 Season 2 on at
    You can use the round() function to limit the number of decimal places after calculations, which will ensure correct result.  If you want precision, always round the results before using or storing them.

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard