This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes parse int to string???help!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "parse int to string???help!!!!" Watch "parse int to string???help!!!!" New topic

parse int to string???help!!!!

Jess Lim

Joined: Sep 09, 2004
Posts: 2
i can parse string to integer like this:
String j;
int i = Integer.parseInt(j);

is there a way for me to parse a value of int to String again?

thank you so much for help!
Gian Franco
Ranch Hand

Joined: Dec 16, 2003
Posts: 977
It would be something like:


Gian Franco Casula

"Eppur si muove!"
Mapraputa Is
Leverager of our synergies

Joined: Aug 26, 2000
Posts: 10065
Moving to Java In General (Beginner).

Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Jess Jess,

Welcome to JavaRanch!

We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.

I'll guess that "Jess Jess" is a fictitious name.

Thanks Pardner! Hope to see you 'round the Ranch!

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Alternate means for making a String from an int include String.valueOf(int) and simply concatenating the int with a String: "" + myInt.
I agree. Here's the link:
subject: parse int to string???help!!!!