diff --git a/app/models/target.rb b/app/models/target.rb index fbdbc2d4..c140dc4d 100644 --- a/app/models/target.rb +++ b/app/models/target.rb @@ -36,7 +36,7 @@ class Target < ActiveRecord::Base elsif unit == Target.units[:program_minutes] numerator = conference.current_program_minutes end - (numerator / target_count.to_f * 100).round(0).to_s + (100 * numerator / target_count).to_s end ##