def METHOD_NAME(_type: str) -> str:
    """Convert double and float to number type.
    :param _type: A primitive v1 IO type
    :type _type: str
    :return:
      * InputTypes.NUMBER if _type is "double" or "float"
      * The provided type otherwise
    :rtype: str
    """
    _type = _type.lower()
    if _type in ["double", "float"]:
        return InputTypes.NUMBER
    return _type