My locale uses a comma ,
, and not a dot .
for decimal separator.
In MVC3, when I open an Edit view where the decimal values are shown with
Getting around with this by tweaking your validation logic has been already explained so here is a different approach.
Put the below code inside your web.config file under the
node if you would like to set the culture to en
. It will take care of decimal delimiter:
I am not sure but for DateTime
, you are still bound to your server's locale.