This Question is Answered

15 "helpful" answers available (5 pts)
2 Replies Last post: Nov 17, 2008 12:21 PM by Christopher Barber  
Santhosh Ram Level 1 18 posts since
Nov 17, 2008
Currently Being Moderated

Nov 17, 2008 9:16 AM

how to convert a string into integer value

 

i want to display some data in a text box. and later on i want to perform some arithmatic operations on the data.

 

 

now my problem is how to convert the value in the text filed to integer.

 

 

 

 

thanks in advance.

 

 

Duke BlackBelt 297 posts since
Oct 17, 2007
Currently Being Moderated
1. Nov 17, 2008 10:08 AM in response to: Santhosh Ram
Re: how to convert a string into integer value

Use the StringInterface.to-int method.

Christopher Barber BlackBelt 139 posts since
Sep 27, 2007
Currently Being Moderated
2. Nov 17, 2008 12:21 PM in response to: Duke
Re: how to convert a string into integer value

And if StringInterface.to-int doesn't give you what you want, you should look at the NumberParser class.

More Like This

  • Retrieving data ...