Hi,
I've built a condition checking a number in a Form.
The condition is suppose to check if the number is between 500 and 10 000 :
For a reason I don't understand, the condition keep saying No.
Last test I did, the number was 2328.01 and the Flow took the No branch.
FYI, I have an other Flow with the same condition (exept numbers between 10000 and 50000) and it's work perfectly.
Can someone help me pls?
Thanks.
Hi @lielianjie,
My suggestion would be to convert both the answer and the 500 & 10000 values to float type of data (decimals).
Try the below
The Total amount question (change the id to your question id)
float(outputs('Get_response_details')?['body/r15811ccddb4b4efd8cf480f4633ba267'])
Greater than
float('500')
Less than
float('10000')
@lielianjie Hi! Have you tried without the ' '? Also, are the variables that you used of string type or number? If they are string, make sure to convert them to a number first by using the int() function.
WarrenBelz
146,653
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional