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