how to convert a text field string to a float in android studio code example
Example: convert string to float java
String yourString = "23.7";
float yourFloat = Float.parseFloat(yourString);
String yourString = "23.7";
float yourFloat = Float.parseFloat(yourString);