This question already has an answer here: Java int to String - Integer. ... There are multiple ways: String.valueOf(number) (my preference) ...
stackoverflow.com