jquery session variable with conditional operator

jquery session variable with conditional operator

Hello all,

I am using jquery session plugin and in  my code I am using if loope .This if loop looks like

if($.session("numberOfDaysLeft")>=0 && $.session("numberOfDaysLeft")<=$.session("passwordExpConst"))

now problem is that whenever numberofdaysleft  is less than or equal to passwordExpConst it gives me false and viceversa.

So can any one tell me why this problem is ?