# ABS

Updated: 10/19/2021, 9:29:48 PM
Created: 10/19/2021, 9:29:48 PM
Last Updated By: Kevin Munoz
Read Time: 1 minute(s)

# Description

This function returns the mathematical absolute of the mathematical expression in the argument. It's use is as:

ABS(mathematical expression)
1

where mathematical expression can be any character(s) that evaluate to a numeric value.

An example of it's use is as:

positive_var = ABS(20 - 30 )
1

The above will result in the value 10 being assigned to positive_var.

Go back to jBASE BASIC

Go back to Programmers' Reference Guide