-
Convert String to value
How to convert a string number "125412" to value ( int 123412)
is there a search engine for java API?
-
Re: Convert String to value
Whats your question man? If you do not know type casting why are you a programmer?
"fasad" <fasad1@hotmail.com> wrote:
>
>How to convert a string number "125412" to value ( int 123412)
>is there a search engine for java API?
-
Re: Convert String to value
Actually, type casting from String to integer is NOT a valid Java operation.
Try
String s = "125412";
int i = Integer.parseInt(s);
Is there a search engine for the Java API? If you downloaded the Java
documentation to your system, you could do a text search on it. Use the
"Find Files" function of Windows Explorer or the Unix commands for text
searching.
PC2
p <mymail@mymail.com> wrote in message news:3a0c0cae$1@news.devx.com...
>
> Whats your question man? If you do not know type casting why are you a
programmer?
>
> "fasad" <fasad1@hotmail.com> wrote:
> >
> >How to convert a string number "125412" to value ( int 123412)
> >is there a search engine for java API?
>
-
Re: Convert String to value
"fasad" <fasad1@hotmail.com> wrote:
>
>How to convert a string number "125412" to value ( int 123412)
>is there a search engine for java API?
int i = Integer.parseInt("125412");
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