app/helpers/ballots_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
module BallotsHelper

  def progress_bar_width(amount_available, amount_spent)
    (amount_spent / amount_available.to_f * 100).to_s + "%"
  end

end