Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

max_double,min_double

0 views
Skip to first unread message

John Fahring

unread,
Oct 23, 2002, 8:47:37 AM10/23/02
to
double.Max and double.Min


"Chris" <ccdu...@yahoo.co.uk> wrote in message
news:enu6eGpeCHA.1952@tkmsftngp09...
> any of these constants in c#?
> A constant for the maximum value of a double?
>
>


Chris

unread,
Oct 23, 2002, 8:42:57 AM10/23/02
to

Nicholas Paldino [.NET/C# MVP]

unread,
Oct 23, 2002, 8:45:06 AM10/23/02
to
Chris,

You can use the static MaxValue and MinValue properties on the Double
type.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- nicholas...@exisconsulting.com

"Chris" <ccdu...@yahoo.co.uk> wrote in message
news:enu6eGpeCHA.1952@tkmsftngp09...

Chris

unread,
Oct 23, 2002, 11:28:09 AM10/23/02
to
Thanks guys

"John Fahring" <john.f...@gmx.net> wrote in message
news:uOEAyIpeCHA.1544@tkmsftngp09...

WEB1110

unread,
Oct 23, 2002, 10:14:35 PM10/23/02
to
Yep, use Double.MaxValue and Double.MinValue.

However, I had a problem using these in Visual Studio. They caused
Intellisence to terminate the compiler. If you are using VS and it goes
away on you, get rid of these and see if VS comes back.

0 new messages