diff --git a/backend/lcfs/web/api/compliance_report/summary_service.py b/backend/lcfs/web/api/compliance_report/summary_service.py index 0e805f907..09ee2cade 100644 --- a/backend/lcfs/web/api/compliance_report/summary_service.py +++ b/backend/lcfs/web/api/compliance_report/summary_service.py @@ -591,11 +591,11 @@ def calculate_renewable_fuel_target_summary( line=line, description=( RENEWABLE_FUEL_TARGET_DESCRIPTIONS[line]["description"].format( - "{:,}".format(int(summary_lines["4"]["gasoline"] * 0.05)), - "{:,}".format(int(summary_lines["4"]["diesel"] * 0.05)), - "{:,}".format(int(summary_lines["4"]["jet_fuel"] * 0.05)), + "{:,}".format(round(summary_lines[4]["gasoline"] * 0.05)), + "{:,}".format(round(summary_lines[4]["diesel"] * 0.05)), + "{:,}".format(round(summary_lines[4]["jet_fuel"] * 0.05)), ) - if (line in ["6", "8"]) + if (line in [6, 8]) else RENEWABLE_FUEL_TARGET_DESCRIPTIONS[line]["description"] ), field=RENEWABLE_FUEL_TARGET_DESCRIPTIONS[line]["field"],