cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. ET on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

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