Florida Unemployment - Wages (2016) FL_UNEMP_WAGES_2016 python result = (payslip.date_to[:4] == '2016') code ### ytd = payslip.sum('FL_UNEMP_WAGES_2016', '2016-01-01', '2017-01-01') ytd += contract.external_wages remaining = 7000.0 - ytd if remaining <= 0.0: result = 0 elif remaining < categories.GROSS: result = remaining else: result = categories.GROSS Florida Unemployment (2016) FL_UNEMP_2016 python result = (payslip.date_to[:4] == '2016') code result_rate = -contract.fl_unemp_rate(2016) result = categories.FL_UNEMP_WAGES # result_rate of 0 implies 100% due to bug if result_rate == 0.0: result = 0.0