Solved

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

Posted on 2006-06-25
2
1,369 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

726 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