cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
lehaofeng
Level V

How can I make 5>-1>=0.999 return the expected result of 0?

Please ask a question: I was under the impression that JSL can be used to compare consecutively, for example: 5>-1>=0.999, but the running result is 1, what is the reason? Do I have to write 5>-1 & -1>=0.999?

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How can I make 5>-1>=0.999 return the expected result of 0?

2 REPLIES 2
jthi
Super User

Re: How can I make 5>-1>=0.999 return the expected result of 0?

Using JMP > Reference for JMP Functions in Formulas > Comparison Functions 

So maybe swap it around

0.999 <= -1 < 5
-Jarmo
lehaofeng
Level V

Re: How can I make 5>-1>=0.999 return the expected result of 0?

Thanks! Reading the help, I hadn't realised that the reverse wouldn't work.