Absolute value is a mathematical function that returns the non-negative value of a number without regard to its sign.
Absolute value is a mathematical function that returns the non-negative value of a number without regard to its sign.
For example, both 7 and -7 will have an absolute value of 7.
Many programming languages include a function for absolute value in their standard math libraries, often named abs()
or similar.
More information: http://en.wikipedia.org/wiki/Absolute_value