ran into this prob recently. I think it was working fine, but moved to .net 2.0 and things just arent the same.
the initial "number" is pulled from a substring.
01 to 07 work fine, returning the 1 to 7, but 08 and 09 return as 0's
why!?
function testStuff()
{
var nPos = "01";
var total = parseInt(nPos) + 1;
var nPos2 = "09";
var total2 = parseInt(nPos2) + 1;
alert(total + " : " + total2);
}
the initial "number" is pulled from a substring.
01 to 07 work fine, returning the 1 to 7, but 08 and 09 return as 0's
why!?
function testStuff()
{
var nPos = "01";
var total = parseInt(nPos) + 1;
var nPos2 = "09";
var total2 = parseInt(nPos2) + 1;
alert(total + " : " + total2);
}