* RESOLVED * How to declare the maximum value of a Double as a const
This code gives me an error. I'm not sure how to declare a const with an exponent. Does anyone know how to make this declaration? I want the maximum value that a double can hold as a constant for validation purposes.
VB Code:
public const dblMax as Double=1.79769313486232E308
I also need the smallest negative value. This doesn't give me an error, but I'm not sure that it's not subtracting 308 from the value which would make it incorrect.
VB Code:
Public Const dblMin As Double = 4.94065645841247E-324