ConfusedOfLife
04-26-2003, 09:54 AM
Look at this snippet:
<script>
alert( parseInt("02") );
alert( parseInt("08") );
alert( parseInt("09") );
</script>
I noticed that if you try to parseInt("08") or parseInt("09"), you only get 0 back! But for other numbers we don't have this problem! What do you think?! :rolleyes:
<script>
alert( parseInt("02") );
alert( parseInt("08") );
alert( parseInt("09") );
</script>
I noticed that if you try to parseInt("08") or parseInt("09"), you only get 0 back! But for other numbers we don't have this problem! What do you think?! :rolleyes: