Table of Contents

Abs

Format

abs ( expression )

Description

Returns the absolute value of a numeric expression.

Example

print abs(-45)
print abs(6.45)

will print

45
6.45