title: Smarty 3 number_format in template works wrong
body: <p>I use smarty 3 template engine in php. I use this code inside my template:</p>
  
  <pre><code>{$cart_sum_total*$smarty.const.CURRENCY_HOME_RATE|number_format:2:".":","} 
  </code></pre>
  
  <p>$cart_sum_total has value 85.92
  $smarty.const.CURRENCY_HOME_RATE has value 44.1623</p>
  
  <p>The template shows 3794.2272</p>
  
  <p>Why do I have 4 decimal points? I tell smarty to have 2 decimal points. What is the error?</p>