A Single equivalent of the string.
Type Reason ArgumentNullException s is a null reference. FormatException s is not in the correct format. OverflowException s represents a number less than float.MinValue or greater than float.MaxValue.
If s is INF or -INF, this method returns Single.PositiveInfinity or Single.NegativeInfinity respectively.