Difference between revisions of "ABS()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Helen.george (Talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return absolute value | Function to return absolute value | ||
− | |||
==Syntax== | ==Syntax== | ||
ABS(<expN>) | ABS(<expN>) | ||
− | |||
==See Also== | ==See Also== | ||
[[FIXED()]], [[INT()]], [[ROUND()]], [[SET DECIMALS]] | [[FIXED()]], [[INT()]], [[ROUND()]], [[SET DECIMALS]] | ||
− | |||
==Description== | ==Description== | ||
The ABS() function returns the absolute value of the numeric expression <expN>. | The ABS() function returns the absolute value of the numeric expression <expN>. | ||
− | |||
==Example== | ==Example== | ||
Line 24: | Line 20: | ||
2.5 | 2.5 | ||
</code> | </code> | ||
− | |||
==Products== | ==Products== | ||
− | + | Lianja Server, Lianja | |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | |||
[[Category:Numeric Data Functions]] | [[Category:Numeric Data Functions]] |
Latest revision as of 08:55, 4 February 2013
Purpose
Function to return absolute value
Syntax
ABS(<expN>)
See Also
FIXED(), INT(), ROUND(), SET DECIMALS
Description
The ABS() function returns the absolute value of the numeric expression <expN>.
Example
? abs(-1) 1 ? abs(-5.6) 5.6 ? abs(2.5) 2.5
Products
Lianja Server, Lianja