ABS - DualBrain/bsharp GitHub Wiki

To return the absolute value of the expression n.

Syntax

ABS(n)

Comments

n must be a numeric expression.

Example

10 PRINT ABS(7*(-5))
 35

Prints 35 as the result of the action.

See Also