def _get_value(number):
    """Attempt to return a float from a cif number value."""
    if number == '.':
        return 0.0
    if number == '?':
        return None
    try:
        return float(number)
    except ValueError:
        pass
    number = number.split('(')[0]
    return float(number)