Re: Data type convert issue
Why don't you consider the error message. "Make sure not to divide by zero." Is there any division in your code. If there is and you divide by zero then you'll get that message. If you haven't stored anything in some array element then it will be zero so if you divide something by that you'll get that message. You could try filling the array up with something like 1 just as an experiment to see if that eliminates your problem but if there's not too much code to search through then you can probably go right to the problem area.