Older Newer
Sat, 28 Dec 2019 15:28:28 . . . . SyneRyder [fix typo]


Changes by last author:

Added:
= abs =

== Syntax ==

int abs(int number)

== Arguments ==

:number

::Any integer number.

== Return ==

The absolute value of the supplied argument.

== Description ==

Returns the absolute value of an integer number. When supplied with a negative number, this function will return a positive number of equal distance from zero.

== Example ==

<code>

%ffp

OnFilterStart:

{

Info("The absolute value of -10 is %d", abs(-10));

}

</code>

== See Also ==

fabs