Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: float? ParseFloatOrNull(this string, NumberStyles, IFormatProvider)

Declaration

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

Summary

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