aspose file tools
The moose likes JSP and the fly likes Formatiing problem in EL Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply 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: 56157
    
  13

Explore the JSTL fmt actions.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Formatiing problem in EL
 
Similar Threads
where to look for jsp and servlet specs?
including webpage in jsp
how can I make two actions communicate with each other
EL is not enable by default in Tomcat 5.0
EL expressions