Hello,
I often get this error message while I assigned some values to integer in VB.NET.
I can’t understand this error and why did appear?
Can I get some resolution and instructions related to this error?
I would be grateful to you if received any suggestion.
Thanks in advance.
Fingerprint Software
Arithmetic operation resulted in an overflow.
Details
Error Code Description
FFFFFFFF Arithmetic operation resulted in an overflow
Get this error message while assigned values to integer in VB NET
Hello Sidney,
Now the problem is with the range. While assigning some values to the integer variable in VB you've got to be careful with the range as there is a limitation with the range. Try to assign a value within the integer range. Integer data type holds signed 32-bit (4-byte) integers that range in value from -2,147,483,648 through 2,147,483,647. If the value you are assigning gets outside this range then you get the overflow error,hence the problem. Try using Long or Double as the datatype, a clearer and better option.