Provides integer type for Number.
integer value if it placed at Number; otherwise, the method throw the exception.
if Number does not integer exception should be thrown.