프로그래밍/JAVA

string to integer, integer to string

halloRa 2012. 9. 7. 10:42

출처: http://blog.naver.com/mini_wor1d?Redirect=Log&logNo=150141298003


int A;

String B;


// int to string

B = Integer.toString(A);


// string to int

A = Integer.parserInt(B);

저작자표시 (새창열림)