Click here to Skip to main content
15,908,013 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I am currently having a problem with my application i have deployed to a production server.

For some reason i deployed my application but yet the cahnges dont seem to show on the production server. on the Development environment i have my Values of the cash showing as R 123.45

on the production server it shows as R 123,45
Client has requested it to show as R123.45

i have had a look at the .net globalization settings but they are the same any idea what i could do to resolve this issue?
Posted
Comments
Do an IIS reset and see if it works or not.
Bernhard Hiller 11-Nov-13 7:53am    
How do you format the numbers (code)?
isi19 11-Nov-13 8:14am    
Me.Amount.Text = TableA.Amount.Format(TableA.Amount.DefaultValue, "R ###0.00")
isi19 11-Nov-13 8:19am    
i have also tried the following

me.amount.text = numericMoney.ToString("R ###0.00")

1 solution

Why don't you just remove the extra blank from the string? I.e.
C#
me.amount.text = numericMoney.ToString("R###0.00");

I'd suggest to use a configurable setting for that. Read the value from the Setting into a variable, and then use that:
C#
string FORMAT ="R###0.00"; // get it from a configuration file
me.amount.text = numericMoney.ToString(FORMAT);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900