decimal « JSTL « JSP-Servlet Q&A





1. How do I round a positive and negative decimal in JSTL?    stackoverflow.com

I have two numbers that I need to round to 4 decimal places in JSTL. One is positive:

40.7615811
40.7616
and the other is negative:
-73.9940841
-73.9941
Both need to be rounded to 4 decimal places, as ...

2. Decimal number display using JSTL    coderanch.com