JSP format number
- From: "marcosm" <marcosm@xxxxxxxxx>
- Date: 20 Jun 2006 11:03:53 -0700
Hi
I want to show numbers, Integers, Float in a JSP with two decimal
places after the comma.
For instance, if the value is 100, I want to show 100,00.
How do I do this in JSP?
I tried using fmt taglibs as following:
<fmt:formatNumber value="${bean.IntegerFied /100}" type="currency" />
But causes an error?
How do I format the output int the JSP page?
.
- Follow-Ups:
- Re: JSP format number
- From: Paul Hamaker
- Re: JSP format number
- Prev by Date: Re: Porting code that uses in/out string parameters
- Next by Date: Re: java -cp . HelloWorldApp
- Previous by thread: Logger info
- Next by thread: Re: JSP format number
- Index(es):