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.
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2