web config - Can't change decimal spectator default on server? -


i moved site server , new server uses comma instead of period when using decimals.

locally set machine use comma work out code fix.

i added <globalization culture="af-za" uiculture="af-za" /> web.config , found apply's period separate decimals, looking for.

when place <globalization culture="af-za" uiculture="af-za" /> onto site web.config hosted on new server not change decimal separator period, says comma?

could server force format standard stopping me changing it?

you can use cultureinfo.invariantculture property msdn link.

this way, server ignore settings, , use "default" value. in case, use comma.


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -