Posted on 2006-06-15
I need to store decimal point values in a variable, the range of values is 19.999999 to 0.999999...
The problem is what type do I declare my variable as because....
Integer and Long no good as it rounds decimal places...
Decimal has a range of "For numbers with 28 decimal places, the range is
+/-7.9228162514264337593543950335. The smallest possible non-zero number is 0.0000000000000000000000000001."
Single has a range of "-3.402823E38 to -1.401298E-45 for negative values; 1.401298E-45 to 3.402823E38 for positive values."
Variant is the same as "Same range as Double for numerics."