Location: PHPKode > projects > Open Power Template > tests/Opt/function/absolute_1.txt
Testing the absolute() function.

>>>>templates/test.tpl
<?xml version="1.0" ?>
<opt:root>
{absolute(5)}
{absolute(-5)}
</opt:root>

>>>>expected.txt
OUTPUT

>>>>result.txt
5
5
Return current item: Open Power Template