Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: float ParseFloat(this string, float, NumberStyles, IFormatProvider)

Declaration

public static float ParseFloat(
    this string str,
    float default_,
    NumberStyles style = AllowThousands, Float,
    IFormatProvider provider = null
)

Summary

Parses this string as a float using float.TryParse(string, out float). Returns default_ if the value cannot be parsed.