def percentage(part, whole):
    """
    Returns percentage with 2 decimals. If `whole` <= 0, returns -1.00.
    """
    if whole <= 0:
        return -1.00
    return format(100 * (float(part) / (float(whole) if whole != 0 else 1)), '.2f')