If you want that for display purposes, use java.text.DecimalFormat:
new DecimalFormat(“#.##”).format(dblVar);
If you need it for calculations, then: Math.floor(value * 100) / 100
If you want that for display purposes, use java.text.DecimalFormat:
new DecimalFormat(“#.##”).format(dblVar);
If you need it for calculations, then: Math.floor(value * 100) / 100
ALTER TABLE table_name AUTO_INCREMENT=11;
Add below this code in web.xml file for get rid of from el exception while jsf code commenting in pages
<context-param>
<param-name>facelets.SKIP_COMMENTS</param-name>
<param-value>true</param-value>
</context-param>