abs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:


Absolute value of '''x'''.
Absolute value of '''x'''.


'''Example:'''
'''Example:'''


_a = '''abs''' -3 ..........Result is 3
_a = '''abs''' -3 ..........Result is 3

Revision as of 12:48, 15 April 2006

back to COMREF

abs x

Operand types:

x: Number

Type of returned value:

Number

Description:

Absolute value of x.


Example:

_a = abs -3 ..........Result is 3