User Tools

Site Tools


en:public:developer:template_system:tags:expression:abs

Table of Contents

<#abs>

Return the absolute value of integer, int64 or float value given in the parameter “value”. So, for the value ”-45” it will return “45”.

Parameters

Name Mandatory Description
value Yes The value to return its absolute value.

Example

<#abs value="-3">

The above example will output (for exemple):

3
en/public/developer/template_system/tags/expression/abs.txt · Last modified: 2015/02/05 15:34 by svanderclock