bulgarian388
10-06-2007, 03:11 AM
Hi guys,
I have a dedicated server set up in the UK, but is configured to be on my local time zone here in Arizona. I have a field in a MySql table that I'm trying to write out to the screen. It is a decimal field and is used to hold a currency number. I'm using C# to convert it and write it out the screen:
String.Format("{0:c}", TotalCost)
The problem is that it's not outputting it with a dollar sign, but with a pound sign. How do I get C# to output it properly? I already checked the server and its completely set to US currency and such.
Help appreciated!
I have a dedicated server set up in the UK, but is configured to be on my local time zone here in Arizona. I have a field in a MySql table that I'm trying to write out to the screen. It is a decimal field and is used to hold a currency number. I'm using C# to convert it and write it out the screen:
String.Format("{0:c}", TotalCost)
The problem is that it's not outputting it with a dollar sign, but with a pound sign. How do I get C# to output it properly? I already checked the server and its completely set to US currency and such.
Help appreciated!