How to determine even and odd numbers.(Power Automate Cloud flows)
Steps
When a number is divided by 2, it is determined using the fact that if the remainder is 0, it is an even number, and if the remainder is 1, it is an odd number.
To do so, set up a "Condition" as follows
Parameter | Value |
---|---|
Left | mod(targetValue,2) |
Center | is equal to |
Right | 0 |
Even numbers branch to "If yes" and odd numbers branch to "If no".
---
Discussion
New Comments
No comments yet. Be the first one!