Comiling numeric literals problems

agraham

Expert
Licensed User
Longtime User
Why does

Dim Dbl As Double
Dbl=12345678912345678912.3

give a compile error "Value was either too large or too small for an Int64?

and

Dim Dbl As Double
Dbl=1234567891234567891.2

gives a Java compiler error

';' expected
_dbl = 1234567891234567891L.2;
 
Top