tag:help.cashboardapp.com,2012-10-23:/discussions/document-templates/154-invoicesales_tax-number_with_delimiter-not-workingCashboard: Discussion 2016-08-12T01:58:04Ztag:help.cashboardapp.com,2012-10-23:Comment/317776112014-02-24T20:54:39Z2014-02-24T20:56:31Z {{ invoice.sales_tax | number_with_delimiter: ',' }} not working<div><p>I'm trying to use the <code>number_with_delimiter</code> from
the example here :<br>
<a href=
"http://help.cashboardapp.com/kb/document-templates/template-syntax-basics">
http://help.cashboardapp.com/kb/document-templates/template-syntax-...</a></p>
<p>I can't seem to get this to work for my tax number.<br>
I have this line in my <code>invoice_table_footer</code></p>
<pre>
<code><b>BTW</b> - {{ invoice.sales_tax | number_with_delimiter: ',' }}%</code>
</pre>
<p>But it's just printing it with a <code>.</code>, what am I doing
wrong ?</p>
<p>Also, great work with the templating system, haven't found this
anywhere else yet.</p></div>Willem D'Haeseleertag:help.cashboardapp.com,2012-10-23:Comment/317776112014-02-24T21:30:38Z2014-02-24T21:30:38Z {{ invoice.sales_tax | number_with_delimiter: ',' }} not working<div><p>Hi Willem,</p>
<p>That code looks good to me. Is anything actually filled in for
that invoice's sales tax?</p>
<p>PS: <a href="http://shopify.com">Shopify</a> uses the same
templating system.</p></div>Seth Btag:help.cashboardapp.com,2012-10-23:Comment/317776112014-02-24T21:34:00Z2014-02-24T21:34:00Z {{ invoice.sales_tax | number_with_delimiter: ',' }} not working<div><p>Yes there is, it's at 21% you can see it in the screenshot</p></div>Willem D'Haeseleertag:help.cashboardapp.com,2012-10-23:Comment/317776112014-02-24T21:40:38Z2014-02-24T21:40:38Z {{ invoice.sales_tax | number_with_delimiter: ',' }} not working<div><p>Oh I see what you're talking about now.</p>
<p>Use the filter 'format_number' instead — it'll respect the
preferences you've set for number display under Settings. It takes
no arguments.</p>
<h2><a class="anchor" href="#" name=""></a></h2>
<p>seth @ subimage llc<br>
<a href="http://subimage.com">http://subimage.com</a></p></div>Seth B