def get_difference(time, actual_time):
    """
    Returns the difference in percent for two given times.

    If it returns 1 it means that the task was finished as planned.
    If it returns n > 1 it means that the task took n% longer than planned
    If it returns n < 1 it means that the task took n% lesser than planned

    """
    return round(float(actual_time) / float(time), 2)