title: JavaScript math, round to two decimal places in Jquery template
body: <p>I have some code</p>
  
  <pre><code>{{if commission}}              
      &lt;td&gt;${profit - commission}&lt;/td&gt;   
  {{else}}
      &lt;td&gt;${profit}&lt;/td&gt;
  {{/if}}
  </code></pre>
  
  <p>profit = <code>5</code>;</p>
  
  <p>commission = <code>2.145</code></p>
  
  <p>result = <code>2.855999999999</code></p>
  
  <p>I need <code>2.856</code></p>
  
  <p>Please help me</p>
  
  <p>I try to use <code>(${profit - commission}).toFixed(2)</code> - but it does not work.</p>