I got a simple javascript function in my asp.net page that just checks to see if one value is smaller than the other. The condition value is 15000.00 and i'm comparing it to 920.00
Why does it evaluate to false?
var moo= 15000.00;
var orig= 920.00;
var bool = orig < moo;
if (bool) {
...some code here...
}
Note that this also doesn't work:
if (orig < moo) {
...some code here...
}