Difference between revisions of "Manuals/calci/ABS"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
==References== | ==References== | ||
− | [http://en.wikipedia.org/wiki/Absolute_value | + | [http://en.wikipedia.org/wiki/Absolute_value Absolute_value] |
Revision as of 22:37, 11 December 2013
ABS(n)
- Where is the any real number.
Description
- This function gives the absolute value of a given number.
- Here is the real number which we want to convert to absolute value of .
- The absolute value of a real number is its distance from 0(origin) on the number line.
- Absolute value of a number is always
Examples
- ABS(8) = 8
- ABS(-5) = 5
- ABS(1/2) = 0.5
- ABS(-1/4) = 0.25