cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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.

Recommended Articles