def _acct(v):
    """Convert to accounting (float) for excel, but default to original value."""
    try:
        if v is None or v == '':
            return ''
        return float(v)
    except ValueError:
        return v