Lets take following Cases
Case I:
double d = 123.994;
<fmt:formatNumber type="currency" value="${d}" maxFractionDigits="2"/>
Result: 123.99
Case II:
double d = 123.996;
<fmt:formatNumber type="currency" value="${d}" maxFractionDigits="2" />
Result: 124.00 Here expected is: 123.99
So fraction values are getting rounded. But in my case i dont want it to be rounded. How to stop automatically values getting rounded. Please help me...