5
Reply

Different Culture number format using a website

Ramesh Kumar

Ramesh Kumar

Nov 11 2010 2:26 AM
5.8k

Hi,
My web application has to support different cultures for displaying the price values.
For example,
if german user is using application then price value has to be displayed like 1,05 [decimal separater is comma, thousand separater is dot]
if chines user is using application then price value has to be displayed like 1.05 [decimal separater is dot, thousand separater is comma]
I will call the application[set language German] from my browser  after configuring the application.This language has been set my application whereever i calling the application. So other language is not working to display the price value.
Note:
Is there any default language setting in IIS if access the first time?
or
For accessing database, i am using BORLAND.DATA.ADODBXCLIENT.dll to access the interbase database in my web application. Is it any default language setting when access the database? I saw the log, if set de-DE when access first time then the price has been logged like 1,05. When i change the my language for en-EN in my browser then the price has been logged like 105.

Answers (5)