This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using the above mentioned code to access a data and then display it on my jsp page. My problem is that I want to truncate the decimal values that are being displayed on my jsp page. for example 15.0 should be 15.
Can anyone please suggest me a way to do it in JSTL. I think fmt:formatNumber can do this, but I dont know how to use it with cut A code snippet would be highly helpful Thanks in advance
And, please be sure to use UBB code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.
You can go back and change your post to add code tags by clicking the .