Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User inputs into integers

Status
Not open for further replies.

tilotama

Programmer
Aug 24, 2001
25
MY
This would sound dumb.. but how do u change user inputs into integers?
 
result = int(input);
trace (result); Regards,

oldman3.gif
 
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);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top