cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to move from signal modeling to system modeling at the first JMP Aerospace Analytics webinar. Register. June 18, 1 p.m. US Eastern Time.

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