Solved

display currency symbol along with the number in JSP

Posted on 2006-06-22
3
1,207 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 50 total points
ID: 16960217
what is displayed...

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

Tim
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
some methods private some are not 8 230
maven set up 2 213
Suggestion on WebSite Template Sites 6 125
ejb on wildfly 5 65
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.

710 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