Converts the specified string representation of a number to its NullableSingle equivalent.
A NullableSingle structure containing the parsed value.
The s parameter can contain NumberFormatInfo.PositiveInfinitySymbol, NumberFormatInfo.NegativeInfinitySymbol and NumberFormatInfo.NaNSymbol.
| Exception Type | Condition |
|---|---|
| ArgumentNullException | s is a null reference (Nothing in Visual Basic). |
| FormatException | s s is not a number in a valid format. |
| OverflowException | s represents a number less than Single.MinValue or greater than Single.MaxValue. |
Namespace: TechTalk.Genome.NullableTypes
Assembly: TechTalk.Genome (in TechTalk.Genome.dll)
Version: 4.2.4.4
Editions: Professional, Evaluation, Express
NullableSingle Class | TechTalk.Genome.NullableTypes Namespace | Single.Parse