Java integer to string

Many times we need to convert a number to a string to be able to operate on the value in its string form.

Java integer to string

Java integer to string

     

Many times we need to convert a number to a string to be able to operate on the value in its string form. Converting numeric values to Strings with Java is very easy. There are two ways to perform this task using "valueOf()" and "toString()" method. The String class containing a method named "valueOf()" can be used and the numeric classes containing "toString()" method can also be used for the conversion.


Read more at:

http:/www.roseindia.net/java/java-conversion/IntegerToString.shtml

http:/www.roseindia.net/java/java-conversion/convert-number-to-string.shtml