isInt function.(Power Automate Cloud flows)
Checks if the text is in Integer format.
In the official help it belongs to the String function, but in the PowerAutomate screen it belongs to the Logical function.
Spec
isInt('<string>')
Argument | Default | Description |
---|---|---|
string | Required field | Target text. |
How to use
In actions it is often used in "Condition".
It is also used to initialize or set variables of type Boolean.
Clicking on isInt in the "Expression" tab sets the function name and () in the formula field.
When dynamic content or variables are used as arguments, special settings are made.
(How to get dynamic content with expressions.)
If you see something like the following, your settings are complete.
You can change the contents of the function by clicking on the purple icon.
For example, isInt('10.5') will result in false because of decimals.
As far as I have verified, the result is as follows.
If non-numeric characters are included, the result is false, and the comma delimiter is determined not to be an integer.
Expression | Result | Remarks |
---|---|---|
isInt('10.0') | false | False if there is a decimal point (other than a number). |
isInt('10') | true | |
isInt('100,000') | false | False if a digit delimiter (other than a number) is included. |
For those who want to learn Power Automate Cloud flow effectively
The information on this site is now available in an easy-to-read e-book format.
Or Kindle Unlimited (unlimited reading).
You willl discover how to about basic operations.
By the end of this book, you will be equipped with the knowledge you need to use Power Automate Cloud flow to streamline your workflow.
Discussion
New Comments
No comments yet. Be the first one!