Abs

From Dragon Age Toolset Wiki
Revision as of 12:53, 26 March 2012 by Sunjammer (Talk | contribs) (Suppressing blank lines)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the absolute value of an integer.

int abs(
int nValue
);
Parameters:
nValue
The integer to get the absolute value of
Returns:

Returns the absolute value of nValue. There is no error return.

Source:

script.ldf

Description

Returns the absolute value of integer nValue.

See also

fabs