you use static method 'parseFloat(String s)' from float class to convert
string to float
float f = Float.parseFloat(stringFloat);
every basic type has it's coresponding class in java that you can use to do
operations regarding to the type
int -> java.lang.Integer
float -> java.lang.Float
boolean -> java.lang.Boolean
.. etc