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 Platform Community / Forums / Power Automate / Doing mathematical exp...
Power Automate
Unanswered

Doing mathematical expressions

(0) ShareShare
ReportReport
Posted on by

I've done a lot of searching, and end up asking here:

 

I have a huge text string in variable %content% and want to calculate the number of kilobytes. In the "Set variable" I now able to get a descimal number like this: %content / 1024%, but I would also want to round this number in that expression (I am aware I can do another operation afterwards to round the number.

F.ex. I would want something like this: %round(content / 1024, 0)% (<-that does not work by the way)

 

Is rounding in the expressison in flow for desktop possible? Do anyone have a link for all mathematical functions I can use?

I have the same question (0)
  • Pavel_NaNoi Profile Picture
    1,074 on at

    if you don't want to use "truncate number" then you'll have to resort to using "Run a python / javascript / vbnet script" to do it in one action, because I don't think PAD has the ability to do what you want.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard