Solved

display currency symbol along with the number in JSP

Posted on 2006-06-22
3
1,183 Views
Last Modified: 2012-06-27
Hello,

I want to display currency symbol along with the number in JSP. I tried the following two tags, but the currency symbol ( USD) is not displayed.

<td> <fmt:formatNumber value="${row.col1}" type="currency" pattern="###,###"/></td>

<td> <fmt:formatNumber value="${row.col1}" type="currency" pattern="###,###0"/></td>

Can you please help
0
Comment
Question by:MFCAnswer
3 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 50 total points
Comment Utility
what is displayed...

It should add the currency symbol depending on the locale of your server...

Tim
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Marketing can be an uncomfortable undertaking, especially if your material is technology based. Luckily, we’ve compiled some simple and (relatively) painless tips to put an end to your trepidation and start your path to success.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now