title: How to format numbers as percentage values in JavaScript?
body: <p>Was using ExtJS for formatting numbers to percentage earlier. Now as we are not using ExtJS anymore same has to be accomplished using normal JavaScript.</p>
  
  <p>Need a method that will take number and format (usually in %) and convert that number to that format. </p>
  
  <pre><code>0 -&gt; 0.00% = 0.00%
  25 -&gt; 0.00% = 25.00%
  50 -&gt; 0.00% = 50.00%
  150 -&gt; 0.00% = 150.00%
  </code></pre>