Method ParseFloat
ParseFloat(string)
Parses the specified string as an float.
public static float ParseFloat(this string floatString)
Parameters
floatStringstringThe float string to parse.
Returns
ParseFloat(string, float)
Parses the specified string as an float.
public static float ParseFloat(this string floatString, float defaultValue)
Parameters
floatStringstringThe float string to parse.
defaultValuefloatIf parsing fails, the value to return instead.