def percentage(value, arg):
    """
    Divides the value; argument is the divisor.
    Returns empty string on any error.
    """
    try:
        percent_value = float( arg )
        if percent_value:
            return round(value / 100 * percent_value, 2)
    except Exception:
        pass
    return ''