title: currency format in laravel
body: <p>I am using  currency format in lots of places  in my blade files. I am using number_format to show a proper currency format. So it looks like this</p>
  
  <pre><code>&lt;p&gt;${{ number_format($row-&gt;nCashInitialBalance, 2) }}&lt;/p&gt; // $1,123.00
  &lt;p&gt;${{ number_format($row-&gt;nCashCalculatedBalance, 2) }}&lt;/p&gt; // $300.50
  &lt;p&gt;${{ number_format($row-&gt;nCashPaymentsReceived, 2) }}&lt;/p&gt; // $2,341.15
  &lt;p&gt;${{ number_format($row-&gt;nCardFinalBalance, 2)}}&lt;/p&gt; // $234.10
  </code></pre>
  
  <p>if I don't use it it looks like this</p>
  
  <pre><code>&lt;p&gt;${{ $row-&gt;nCashInitialBalance }}&lt;/p&gt; // $1123
  &lt;p&gt;${{ $row-&gt;nCashCalculatedBalance }}&lt;/p&gt; // $300.5
  &lt;p&gt;${{ $row-&gt;nCashPaymentsReceived }}&lt;/p&gt; // $2341.15
  &lt;p&gt;${{ $row-&gt;nCardFinalBalance }}&lt;/p&gt; // $234.1
  </code></pre>
  
  <p>Also for the input fields I am using <code>toFixed(2)</code> in lots of places.</p>
  
  <pre><code>#nDiscount_fixed").val() = parseFloat( $("#nDiscount_fixed").val()).toFixed(2);
  </code></pre>
  
  <p>Isn't there an easiest way to show all the variables as proper currency format?  I have used <code>number_format</code> and <code>toFixed(2)</code> almost more then 50 times now.</p>