newbie question: logical operator and negative operand

 

Hi folks,

Can someone please tell me what is the expected value of following expression

(CCI_0 < -100)

when...

1. CCI_0 = -126 .... i expected expression = true

2. CCI_0 = -98 ... i expected expression = false

i am getting different results

 

Why not show us some codes? If you're going to submit codes, use this button.

 

Reason: