aspose file tools*
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
JavaRanch » Java Forums » Java » JSP
Bookmark "Formatiing problem in EL" Watch "Formatiing problem in EL" New topic
Author

Formatiing problem in EL

udit agarwal
Greenhorn

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?

Thanks


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

Joined: Jan 10, 2002
Posts: 61648
    
  67

Explore the JSTL fmt actions.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Formatiing problem in EL