You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matěj Štágl edited this page Feb 5, 2019
·
3 revisions
abs
Returns the absolute value of a given value
Syntax:
abs(n)
Argument
Description
double n
The value to turn absolute
Returns:double
Description:
This function returns the absolute value of n. If n is a positive number, it will remain the same, but if it's negative, the function returns n multiplied by -1 to make it positive.