Merge pull request #3382 from alphagov/2dp

Report processing stats to 2dp rather than 1dp
This commit is contained in:
David McDonald
2021-11-26 09:48:05 +00:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ def transform_into_notification_by_type_json(total_notifications):
def transform_processing_time_results_to_json(processing_time_results):
j = []
for x in processing_time_results:
j.append({"date": x.date, "percentage_under_10_seconds": round(x.percentage, 1)})
j.append({"date": x.date, "percentage_under_10_seconds": x.percentage})
return j