Older Newer
Fri, 21 Mar 2003 16:51:11 . . . . Martijn van der Lee [Indent]


Changes by last author:

Added:
= fabs =

== Syntax ==

:double fabs(double number)

== Arguments ==

:number

::Any double or float number.

== Return ==

:The absolute value of the suplied argument.

== Description ==

:Returns the absolute value of a double or float 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 -1.23 is %f", abs(-1.23));

}

</code>

== Also see ==

:abs