Sep 23, 2002 #1 tilotama Programmer Joined Aug 24, 2001 Messages 25 Location MY This would sound dumb.. but how do u change user inputs into integers?
Sep 23, 2002 #2 oldnewbie Technical User Joined Dec 6, 2000 Messages 9,142 Location CA result = int(input); trace (result); Regards, Upvote 0 Downvote
Sep 24, 2002 #3 wangbar Programmer Joined Jul 23, 2001 Messages 1,906 Location GB If you're using Flash 5 or MX then you can also go for parseInt() which has replaced the deprecated int function. result=parseInt(12.756); trace(result); Upvote 0 Downvote
If you're using Flash 5 or MX then you can also go for parseInt() which has replaced the deprecated int function. result=parseInt(12.756); trace(result);
Sep 26, 2002 Thread starter #4 tilotama Programmer Joined Aug 24, 2001 Messages 25 Location MY thanx a bunch Upvote 0 Downvote