Thanks for your reply Gregory.
I wouldn't be using 0.0 as the default since this can occur naturally in my data. I might consider
using something like 1e30.
Jon
"Gregory A. Beamer" <(E-Mail Removed)> wrote in message
news:3A8C2558-E83A-4CBB-B08C-(E-Mail Removed)...
Not a big deal if you are default to something without a huge amount of
precision, like 0.0. Floating points are more problematic when you have many
digits to the right of the decimal point.
--
Gregory A. Beamer
MVP: MCP: +I, SE, SD, DBA
Blog:
http://feeds.feedburner.com/GregoryBeamer
********************************************
| Think Outside the Box! |
********************************************
"Jon" <-> wrote in message news:(E-Mail Removed)...
> I've read that I can use a default value to avoid a nullable type in some
> situations.
>
> Is this a good idea for a double? I'm a bit worried that one normally
> should not use if
> (valDoub==???) due to the slightly inexact way that doubles are defined.
>
>