Abs

From Dragon Age Toolset Wiki
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