Konversi string ke float java
String yourString = "23.7";
float yourFloat = Float.parseFloat(yourString);
Lazy Lemur
String yourString = "23.7";
float yourFloat = Float.parseFloat(yourString);