Try executing the following in JavaScript:
parseInt(\'01\'); //equals 1 parseInt(\'02\'); //equals 2 parseInt(\'03\'); //equals 3 parseInt(\'04\'); //equals
How about this for decimal:
('09'-0) === 9 // true ('009'-0) === 9 // true