title: toFixed function not working properly ( please give a reason not an alternative)
body: <p><code>toFixed()</code> function responding differently for float values.
  For Example:</p>
  
  <pre><code> var a = 2.555;
   var b = 5.555;
  
  console.log(a.toFixed(2));  /* output is 2.56 */ 
  console.log(b.toFixed(2));  /* output is 5.55 */
  </code></pre>
  
  <p>For 2.555/3.555 results are (2.56/3.56)</p>
  
  <p>and </p>
  
  <p>For other values(not sure for all values) it is showing #.55 (# refers to any number)</p>
  
  <p>I am confused can any one help me out. </p>
  
  <p>Thanks in advance.</p>