Hi all,
I've got a question about conditionals which I couldn't find anything about it on previous posts...
I need to display 4 numbers when these are in range between min and max. I basically want to evaluate (true or false) in an "if" statement:
Code:
(min<=No1) && (max>+No1) && (min<=No2) && (max>+No2) &&(min<=No3) && (max>=No3) && (min<=No4) && (max>=No4)
I want to make this statement shorter but can you please explain why this is not working:?
Code:
(min<=No1<=max) && (min<=No2<=max) && (min<=No3<=max) && (min<=No4<=max)
Thanks!