How to convert a string number "125412" to value ( int 123412)
is there a search engine for java API?
Printable View
How to convert a string number "125412" to value ( int 123412)
is there a search engine for java API?
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?
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?
>
"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");