The result of multiply is wrong

Hello everybody

I’m write code about multiply

Dim X As integer
X = 145608*145608 -> the result = -273146816

but result is correct must = 21201689664

How to
help me please
thank you…

http://en.wikipedia.org/wiki/Integer_overflow
Use a double instead.

Or Dim x As Int64

Good point.