Global Currency Symbol

Stimulsoft Reports.NET discussion
Post Reply
fkmfkm
Posts: 181
Joined: Thu Jul 05, 2007 11:26 pm
Location: Kuala Lumpur

Global Currency Symbol

Post by fkmfkm »

Is it possible to have a global currency symbol without depending on




Thank you.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Global Currency Symbol

Post by Vital »

Global currency symbol does not depend on current localization. It depend from Windows Regional Settings.

You need use it in TextFormat property?

Thank you.
fkmfkm
Posts: 181
Joined: Thu Jul 05, 2007 11:26 pm
Location: Kuala Lumpur

Global Currency Symbol

Post by fkmfkm »

No, from what i tested it depends on the localization in my web.config.


My web.config culture is en-GB and the symbols prints out as the UK Pound sign.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Global Currency Symbol

Post by Vital »

Yes, you are right, in web applications currency symbol depends from settings in web.config too.
fkmfkm
Posts: 181
Joined: Thu Jul 05, 2007 11:26 pm
Location: Kuala Lumpur

Global Currency Symbol

Post by fkmfkm »

Is there any way i can override the setting in web.config ? cause for my ap en-GB is correct for everything except the currency sysbol. I need my currency symbol to be some other character.

Please Help
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Global Currency Symbol

Post by Vital »

You can use following code:

Code: Select all

System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US", false);
Thank you.
Post Reply