int -> String


: Integer.toString(23);


float -> String 


: String s = Float.toString(25.0f);


String -> int 


: Integer.parseInt("1");


String -> float


: String s = "3.14";


float f = Float.parseFloat(s);

+ Recent posts