The correct answer was returned with the error message but exceeded the maximum value allowed for that data type. That is why the result had to be an error.
For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]