Solved

ASP.NET/C# 2.0 - Formatting Decimal as Currency dollar/sterling problem... Prob EASY

Posted on 2006-06-25
2
1,368 Views
Last Modified: 2012-05-05
Hi Guys, hopefully a quick and easy one...

tempCell.Text = tempPrice.PriceAmount.ToString( "C" );

On my local machine this prints with £ signs (£53.00), on my hosting account I get $ signs ($53.00)...

I assume my host's server is set to be american-english or something... anyway I can force a pound sign when formatting my string?
0
Comment
Question by:zero303
[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
2 Comments
 
LVL 2

Accepted Solution

by:
JocGaurav earned 50 total points
ID: 16978538
u need to set globalization in web.config

following link will help u
http://www.c-sharpcorner.com/Code/2005/April/GlobalizationusingASP.NET.asp

Gaurav
0
 
LVL 3

Author Comment

by:zero303
ID: 16978584
Ta!
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …

733 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