Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27417

VS 2012 Overflow Exception When Multiplying By Zero

$
0
0
Hello.

Has anyone encountered an exception when multiplying by zero? :confused: This is part of a methodical part of my application and can't be discarded.

Basically I've got values in a 1D string array. Originally I was attempting multiplying them at the declaration of a new integer variable. Now (to investigate the exception) I have each coordinate dumping into it's own variable.

Here's an image: :thumb:

Name:  over flow.PNG
Views: 72
Size:  36.3 KB

I don't think it's far-fetched for an algorithm to multiply 0 here and there. That could be just me.
Attached Images
 

Viewing all articles
Browse latest Browse all 27417

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>