Get this error message while assigned values to integer in VB NET

Asked By 20 points N/A Posted on -
qa-featured

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.

Error Code Description FFFFFFFF Arithmetic operation resulted in an overflow

Fingerprint Software

Arithmetic operation resulted in an overflow.

Details

Error Code Description

FFFFFFFF Arithmetic operation resulted in an overflow

SHARE
Answered By 0 points N/A #171447

Get this error message while assigned values to integer in VB NET

qa-featured

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.

Login/Register to Answer

Related Questions