arthur
12/21/2015, 11:24 PMRoundingMode.HALF_EVEN
. it does the same thing as HALF_UP except when it is exactly between two numbers where HALF_EVEN will be rounded to the nearest even number.
For example 2.5
becomes 3 with HALF_UP and 2 with HALF_EVEN