PC Logo Wiki
Advertisement

Syntax

ABS number

Explanation

ABS outputs the absolute value of its input.

Examples

? ABS -30

Result: 30

? ABS 30

Result: 30

? ABS -3 + -4

Result: 7

?

Advertisement