Let's say that you want to take the absolute value of the value held by a
variable named n and place it into a variable named a. You
would use the command abs, and it would look like this:
a = abs(n);
Running the example program
The example program shows how to take the absolute value of the value held by the variable x.
The example program
Next tutorial: True or