Part 1. Definition
In mathematics, the absolute value of a number is the non-negative value of that number, without regarding its sign. For example, the absolute value of -2 is 2, and the absolute value of 5 is 5. In this task you will be given a list of numbers and you need to return the element with highest absolute value. If a negative and positive element have the same absolute value you should return the positive element. The absolute value for negative numbers can be found by multiplying them by -1. After finding the element with the maximum absolute value you should return the value of that element before you applied the absolute value.
Part 2. Example
[-11, 2, 3]
Answer: -11
Explanation: The element with the largest absolute value is -11, since 11 > 3 > 2. This is a good example.
Part 3. Exercise
[-57.722 -87.263  22.142 -87.242  86.898  -8.816]
Answer:
-87.263