c# - Default decimal separator on IIS -
i'm facing rather weird issue. have asp.net website allows users deposit money fake account. have validation on input amounts , has min value of 0.00. however, when load page , check "min value" 0,00 - when check happens on backend min value 0,00 (note separator) , breaks/is invalid.
i set vs use correct culture in config, have set my decimal default use full stop separator system side (in region/locale settings) , iis .net globalization set use correct culture. however, whenever load page defaults 0,00 instead of 0.00. there anywhere else need change it?
when friend hosts same site on pc min value 0.00 - we've checked , our number formats , culture stuff seems same. there might missing?
your windows/.net framework non-english installation? did use line in web.config
example english:
<configuration> <system.web> <globalization uiculture="en" culture="en-us" /> ...
see: how to: set culture , ui culture asp.net web page globalization
Comments
Post a Comment