Android how to convert int to String? -


this question has answer here:

i have int , want convert string. should simple, right? compiler complains can't find symbol when do:

int tmpint = 10; string tmpstr10 = string.valueof(tmpint); 

what wrong above? and, how convert int (or long) string?

use string.valueof(value);


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

php - HTTP_REFERER woes: How can I allow access to a specific page, only when a visitor has visited another specific page beforehand? -

java Extracting Zip file -