Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

Abs( )

Action: Returns the absolute value of a number.
 
Syntax: Abs (expression)
 
Parameters:

Expression

Any valid numeric expression.

Returns: The absolute value of a number.
 
See Also: Int( ), Fix( )
 
Example:

$num = 1 + 2
$z = Abs($num) ; $z = 3

$num = 5 - 11
$z = Abs($num) ; $z = 6