abs()
gives the absolute value of the given number, stripping a possible negative sign.
syntax
abs ( number: decimal ) : integer
parameters
number | the number to get the absolute value from |
return
return a positive decimal resembling the number without negative sign
example
abs( -3 )
returns 3