This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes JSP and the fly likes Formatiing problem in EL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Formatiing problem in EL" Watch "Formatiing problem in EL" New topic

Formatiing problem in EL

udit agarwal

Joined: May 25, 2006
Posts: 9
I divide a number with another in EL

say ${9.37/2} the it shows the result = 4.685

And if the first numer comes from a object which is float the result is = 4.684999942779541

Can i format it on JSP itself?


Good Designer is alwasys a good programmer. Trying to improve designing skill...
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63874

Explore the JSTL fmt actions.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Formatiing problem in EL
It's not a secret anymore!