String yourString = "23.7";
float yourFloat = Float.parseFloat(yourString);
String output = Float.parseFloat(floatNum); /** convert float to string using objName.parse(ObjName) <--capitalized usually. */
Float myFloat = Float.parseFloat("23.5")
String yourString = "23.7";
float yourFloat = Float.parseFloat(yourString);
String output = Float.parseFloat(floatNum); /** convert float to string using objName.parse(ObjName) <--capitalized usually. */
Float myFloat = Float.parseFloat("23.5")