fix: make sure response rate gets rounded to nearest integer

This commit is contained in:
Nelson Jovel 2024-01-12 14:18:39 -08:00
parent 978942ab34
commit 2e0cc3a4d8

View file

@ -18,7 +18,7 @@ class ResponseRateCalculator
return 0 unless total_possible_responses.positive?
cap_at_one_hundred(raw_response_rate)
cap_at_one_hundred(raw_response_rate).round
end
def meets_student_threshold?