You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 5
Next »
Description
Returns the absolute value of a number. The absolute value of a number is the number without its sign.
Parameters
Return Type
Number
Example
number a = abs(4);
number b = abs(-4);
print("a= " + a);
print("b= " + b);
Print: a= 4;
b= 4;
See also
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page:
-
Page: