You can use String.valueOf(thenumber)to convert. But if you plan to add another word conversion, this is not necessary. You might have something like this:
String string = "Number: " + 1
This will make the string equal to Number: 1.
user2675678
source
share