This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
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: 60794
    
  65

Explore the JSTL fmt actions.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Formatiing problem in EL
 
Similar Threads
including webpage in jsp
how can I make two actions communicate with each other
where to look for jsp and servlet specs?
EL is not enable by default in Tomcat 5.0
EL expressions