I have a C# program which uses a SQL Server database.I am already using it in a country that uses . as decimal separator. Now I want to use it in another country that uses , as decimal separator.
in C# is there some application level setting that I can change or write some code so that I can use the same database and the same program ? or do I have to change my entire code to handle this new decimal separator?
I dont know how this works.Basically I think there would be problems in My Sql Queries.
example say one of my existing statements is
insert into tblproducts(productId,Price) values('A12',24.10)
now in new country it will become
insert into tblproducts(productId,Price) values('A12',24,10)
this will raise an error
so do I have to change whole code to handle this situation ?
Thank you