Remote Processing CAMBASIC User Manual

Page 34

Advertising
background image

Comm ands - 1

ABS

Numeric Fun ction

SYNTAX:

n = ABS(m)

PURPOSE:

To return the absolute value of the expression m.

REMARK S:

The absolute value of a number is always positive or zero.

RELATED:

none

EXAMPLE:

PRINT ABS(7)
7
PRINT ABS(–7)
7

Error:

none

Advertising