Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Negative

Former Member
0 Likes
252

Hi All.

Can anyone tell me how I can come to know if a value is negative or not.

For ex.

Suppose a = -2

I want to know a way where I can write.

If a is negative.

.........

else

...................

endif.

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
238

Hi,

if a < 0

then a is negative...

Nicolas

1 REPLY 1
Read only

Former Member
0 Likes
239

Hi,

if a < 0

then a is negative...

Nicolas