This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Usage Template</h1> | |
<h2>With integer to decimal conversion</h2> | |
<p> | |
{% include numf.html number=12345 %} <!-- output is 12.345,00 --><br /> | |
{% include numf.html number=12345 decimals=0 %} <!-- output is 12.345 --><br /> | |
{% include numf.html number=12345 decimals=4 %} <!-- output is 12.345.0000 --><br /> | |
{% include numf.html number=12345 ds='.' ts=',' %} <!-- output is 12,345.00 --><br /> | |
</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% include numberWithCommas.html number=1 %} | |
{% include numberWithCommas.html number=12 %} | |
{% include numberWithCommas.html number=123 %} | |
{% include numberWithCommas.html number=1234 %} | |
{% include numberWithCommas.html number=12345 %} | |
{% include numberWithCommas.html number=123456 %} | |
{% include numberWithCommas.html number=1234567 %} | |
{% include numberWithCommas.html number=12345678 %} | |
{% include numberWithCommas.html number=123456789 %} | |
{% include numberWithCommas.html number=1234567890 %} |