title: Output currency after calculating (Sprintf)
body: <p>i calculate via smarty like this:</p>
  
  <p><code>{math equation='system - user' user=31.400 system=50.000}</code></p>
  
  <p>The Output im getting is <code>18.6</code>but i want <code>18.600</code></p>
  
  <p>The Output should be like:</p>
  
  <pre><code>20.000 = ```20.000```&lt;br&gt;
  400 = ```400```&lt;br&gt;
  1.000,44 = ```1.000,44```&lt;br&gt;
  </code></pre>
  
  <p>i tried it with different formats i saw on the sprintf manual but nothing helped.</p>
  
  <p>Hope you can help me, thank you.</p>