In JSTL,
returns 2 and the following
2
The default rounding mode of DecimalFormat that is used by is RoundingMode.HALF_EVEN. There is no way to change that via any tag attribute. Just add 0.5 to the value when it's not an odd integer to make it to behave like RoundingMode.CEILING.
0.5