Location: PHPKode > projects > Open Power Template > tests/Opt/function/number_3.txt
Testing the number() function with the formatting style specified as arguments.

>>>>templates/test.tpl
<?xml version="1.0" ?>
<opt:root>
{number(1234.56, 1, ';', '&rb;')}
{number(1234.32, 1, ';', '&rb;')}
</opt:root>

>>>>expected.txt
OUTPUT

>>>>result.txt
1}234;6
1}234;3
Return current item: Open Power Template