input|abs( value )
Name | Type | Description | Required |
---|---|---|---|
value | number | Value to calculate absolute of. | Only if the input parameter is omitted. |
Returns a positive value of either the input or the "value" parameter. If both are provided, it is the "value" parameter that will be used.
{-16|abs}
or
{abs( -16 )}
The following output will be produced: "16".
{abs( 256 )}
The following output will be produced: "256".
{-64|abs( -128 )}
The following output will be produced: "128".
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.