title: Not able to use "number_with_precision" in ApplicationHelper's method in Rails 5.0
body: <p>I am using "number_with_precision" method in Rails View, it is working fine there, for example:</p>
  
  <p><strong>In Rails View:</strong> (works fine)</p>
  
  <pre><code>&lt;%= number_with_precision(job.company.rating, :precision =&gt; 2) %&gt;
  </code></pre>
  
  <p>But when I try to do the same in ApplicationHelper's method then it gives me the following error:</p>
  
  <blockquote>
    <p>undefined method `number_with_precision' rails</p>
  </blockquote>
  
  <p>Here is what I have tried:</p>
  
  <p><strong>In Rails ApplicationHelper:</strong> (gives error)</p>
  
  <pre><code>module ApplicationHelper
  
    def employer_overall_rating(overall_rating)
        @overall_rating = number_with_precision(overall_rating, :precision =&gt; 2)
    end
  
  end
  </code></pre>
  
  <p>How can I use the same in ApplicationHelper?</p>