int → String
int i = 999;
String str1 = String.valueOf( i );
String → int
String s =”50″;
int number_i = Integer.parseInt( s );
double number_d = Double.parseDouble( s );
int → String
int i = 999;
String str1 = String.valueOf( i );
String → int
String s =”50″;
int number_i = Integer.parseInt( s );
double number_d = Double.parseDouble( s );
コメント