abs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== '''abs ''x''''' ==
== '''abs ''x''''' ==


Operand types:
'''Operand types:'''
x: [[Number]]
x: [[Number]]


Type of returned value:
'''Type of returned value:'''
[[Number]]
[[Number]]


Description:
'''Description:'''
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 11:35, 15 April 2006

abs x

Operand types: x: Number

Type of returned value: Number

Description: Absolute value of x.

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