[EMAIL PROTECTED] wrote:

I am just curious because I am trying to do this in Flex


Handy little trick: subtract 0.

var val = "100";
trace(typeof val); // string
val = val - 0;
trace (typeof val); // number

Theres also parseInt, parseFloat, and the Number conversion.

-d






Reply via email to