Ok this is kind of silly.

If I had these numbers {3, 5, -2, 7, 4, 9, 2, 12, -3, 8, -5} where I am to pick the one closest to zero and only one number must be returned, would the sign of the number matter? No the order of the numbers presented does not matter.

Both -2 and 2 are closest to zero. Is it the positive number that is considered closest or the negative one? Is there a math rule for this kind of situation?

Appreciate any answers. (Hi)