-
Notifications
You must be signed in to change notification settings - Fork 0
Abs
hpgDesigns edited this page Aug 8, 2021
·
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
This is number 1