Get Integer Part of a Number using Power Automate Desktop

In this post, we will get an integer part of a number. Let’s say, you have a number 45.78 and you want to get the integer part of it i.e., 45. We can get it using the Truncate Number action in Power Automate Desktop (PAD).

Prerequisites

  1. Power Automate Desktop

Create a new flow. Add a new action Truncate Number from the Variables.

Enter the number or a variable that holds the numeric value in the Number to truncate. Select the Operation as Get integer part.

You can change the variables produced from the TruncatedValue to a name that suits your use case. Finally, click on Save and run the flow.

Output:

Thank you All!!! Hope you find this useful.


Up ↑

%d bloggers like this: