import numbers


def is_number_type(value):
    """
    判断value是否数字类型，int/long/float/complex

    :param value: 输入值
    :type value: any
    :returns: 判断结果
    :rtype: bool
    """
    return isinstance(value, numbers.Number)