G
Guest
"double.Parse(double.MaxValue.ToString())" yields the following Exception:
Value was either too large or too small for a Double.
at System.Number.ParseDouble(String value, NumberStyles options,
NumberFormat
Info numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Double.Parse(String s)
...
Even double.Parse((double.MaxValue -1).ToString()) states the same error
message.
That's completly illogical. Is this an error or my misunderstanding?
Value was either too large or too small for a Double.
at System.Number.ParseDouble(String value, NumberStyles options,
NumberFormat
Info numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Double.Parse(String s)
...
Even double.Parse((double.MaxValue -1).ToString()) states the same error
message.
That's completly illogical. Is this an error or my misunderstanding?