en:abs [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

en:abs

## Abs (Function)

### Format

abs ( numeric_expr )

returns positive_float_value

### Description

Returns the absolute value of a numeric expression.

### Example

    print abs(-45)
    print abs(6.45)

will print

    45
    6.45

### See Also

Abs, Acos, Asin, Atan, Ceil, Cos, Degrees, Exp, Float, Floor, Int, Log, Log10, Radians, Rand, Sin, Sqr, Tan

en/abs.txt · Last modified: 2014/02/08 10:53 by admin