Solved

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

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.…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

776 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