I'm trying to convert a string to number and no matter what I do, get strings still.
var lastDigit:Number = Number(e.target.name.charAt(e.target.name.length-1));
trace ('lastDigit is number = ' + lastDigit is Number)
And this traces false. I also tried parseInt and get a type coercion error.
Thanks in advance! I'm sure I'm overlooking something obvious.
lastDigit is Numberin parenthesis like(lastDigit is Number). Does that work?