I meant to say Decimal not Double.
I meant, I can't simply add to d, I must add to d.value
It's too bad they didn't take the max value and use that as NaN and decrease
the max available by 1.
I could get by with the max a little smaller
=====================I meant to say
No in general I guess I can't use like it is a decimal. Need to use:
55 - d.value
rather than
55-d
==================================
But I see you set d = 14.56 not d.Value = 14.56
How come you can do that?
thanks again
"Chris Dunaway" <du******@gmail.comwrote in message
news:11**********************@j44g2000cwa.googlegr oups.com...
Franky wrote:
>No in general I guess I can't use like it is a double. Need to use:
That's because it is a Decimal and not a double. If you need a double,
then use double instead of decimal:
Dim d As Nullable(Of Double)
d = 14.56
Dim d2 As Double
If d.HasValue Then
d2 = d.Value * 3
Else
d2 = 0.0
End If
Chris