Method GetSingle
GetSingle(IFormatProvider?)
Gets a float from this StringValue.
public double GetSingle(IFormatProvider? fmtProvider = null)
Parameters
fmtProvider
IFormatProviderOptional. Specifies the culture-specific format information.
Returns
- double
An non-null double value.
Exceptions
- NullReferenceException
Thrown when the value stored in this instance is null.
- FormatException
Thrown when the value stored in this instance is not parseable to the desired type.