 1. ## Absolute Value

How do you do absolute value in the expression editor?  Reply With Quote

2. ## Re: Absolute Value

abs()  Reply With Quote

3. ## Re: Absolute Value

Abs returns the absolute value ("modulus") of a number, effectively making all numbers positive. Here is example input and output:
abs(-2) = 2
abs(-1) = 1
abs(0) = 0
abs(1) = 1
abs(2) = 2

It is good for when dealing with difference, when positive and negative don't matter. For example you can use abs(A-B) to get the difference between two Values. If A were 4 and B were 6 then abs(A-B)=abs(4-6)=abs(-2)=2. While you can multiply a negative by -1 to make it positive, this would also make a positive a negative (which isn't good if A were 6 and B were 4).  Reply With Quote

4. ## Re: Absolute Value

Thakyou!   Reply With Quote

5. ## Re: Absolute Value

What do you mean by modulus Joshtek?  Reply With Quote

6. ## Re: Absolute Value

OliverPearl, modulos is the latin word for absolute value.
You probably thought of the operator which has almost the same name, modulo (mod).  Reply With Quote

7. ## Re: Absolute Value

Ha! Thanks.   Reply With Quote

8. ## Re: Absolute Value

Modulus is actually the latin word for "a small measure" and is a diminutive of modus meaning "measure" (as well as other things like 'limit' and 'amount').  Reply With Quote

9. ## Re: Absolute Value

I always wondered what (mod) meant. THANKS!  Reply With Quote

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•