I've noticed that doing:
var x=any number between -1 and 1, like 0.5
parsInt(x)
yields NaN.
I was expecting zero. Is there another way of doing this?
Jeff
var x=any number between -1 and 1, like 0.5
parsInt(x)
yields NaN.
I was expecting zero. Is there another way of doing this?
Jeff
Comment