Abs

From Dragon Age Toolset Wiki
Revision as of 21:56, 9 February 2010 by BryanDerksen (Talk | contribs)

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