-
Convert a string
Is there an aesy way to convert a string into an integer.
ie.
text "32" into the value 32
-
Re: Convert a string
try:
(*assuming snip_string is a String and snip_number is an INT)
snip_string = Integer.parseInt( snip_number );
-a.
"Snip Dadio" <j.murray@automotive-solutions.com> wrote:
>
>Is there an aesy way to convert a string into an integer.
>ie.
>text "32" into the value 32
>
-
Re: Convert a string
You mean:
snip_number = Integer.parseInt(snip_string);
"dykechik" <dykechik@aol.com> wrote:
>
>try:
>
>(*assuming snip_string is a String and snip_number is an INT)
>
>snip_string = Integer.parseInt( snip_number );
>
>-a.
>
>
>"Snip Dadio" <j.murray@automotive-solutions.com> wrote:
>>
>>Is there an aesy way to convert a string into an integer.
>>ie.
>>text "32" into the value 32
>>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks