ABS

Platform

x64, Win32, .NET

Purpose

To get the absolute value of the argument.

Class

Elemental function.

Syntax

INTEGER FUNCTION ABS(A); INTEGER A
REAL FUNCTION ABS(A);  REAL A
REAL FUNCTION ABS(A);  COMPLEX A

Return value

If A is INTEGER or REAL then the return value is A (if A > 0) and -A (if A < 0).

If A is COMPLEX and A = (x, y) then the return value is .

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited