error is thrown if you try to store a decimal in an integer