Parses a string into a float.
string
float
Sample:
string str = "0.456"; float value = parseFloat(str);