Product.cs
...
[Required(ErrorMessage="Price is required")]
[Range(0.01, 100000.00,
ErrorMessage="Price must be between 0.01 and 100000.00")]
public decimal Price { get; set; }
...
When I enter '89 .48 ', the form indicates the value '89 .48' for Price is invalid. I think this is due to the default language of my PC. It is not english. It is Russian.

I tried to solve this problem haacked.com instructions:
- I created a model of the DecimalModelBinder class and copied the code from haacked.com to the class
Updated Global.asax file with
ModelBinders.Binders.Add(typeof(decimal), new DecimalModelBinder());
There is no effect. Then I tried to fix it using client side validation . 1. Added JavaScript file called "jQueryFixes.js" with code
$.validator.methods.range = function (value, element, param) {
var globalizedValue = value.replace(",", ".");
return this.optional(element) || (globalizedValue >= param[0] && globalizedValue <= param[1]);
}
$.validator.methods.number = function (value, element) {
return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:[\s\.,]\d{3})+)(?:[\.,]\d+)?$/.test(value);
}
This code did not resolve this issue. Can you suggest what I'm doing wrong here?