-
Notifications
You must be signed in to change notification settings - Fork 0
Abs
hugh greene edited this page Jun 20, 2022
·
1 revision
Returns the absolute value of the input. So, abs(-12.5) = 12.5, and abs(12.5) = 12.5.
- x: The number whose absolute value is to be returned.
double: Returns the absolute value of a given number.
// demonstrates obtaining the absolute value of a given number
var xa;
xa = abs(x);
NOTOC
Category:Function:Real
edited by hpg678 on Github