abs


Description:

[ CCode ( cname = "ABS" ) ]
public int32 abs ()

Calculates the absolute value of a.

The absolute value is simply the number with any negative sign taken away.

For example:

 ABS(-10) is 10.
ABS(10) is also 10.

Parameters:

a

a numeric value.

Returns:

the absolute value of a.