Here’s a way to do it using actionscript;

 

var i:Number=10;

var s:String;

 

s=String(i);

trace(s); // 10

trace(typeof s); // string

 

Alex Hearnz

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 9:58 AM
To: [EMAIL PROTECTED]
Subject: [flexcoders] How doyou convert a string to a number

 

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

Reply via email to