def METHOD_NAME(value: str, rounding_val: int) -> Optional[float]:
    """Convert number to float. 'none' will be converted to None"""
    return None if value.lower() == "none" else parse_number(value, rounding_val)