# ABS

Updated: 11/30/2021, 7:00:45 PM
Created: 11/30/2021, 7:00:45 PM
Last Updated By: Jake Tuttle
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