Problem with double values binding
问题 In my project I want to allow users input double values in 2 formats: with using ',' or '.' as delimiter (I'm not interested in exponential form). By default value with delimiter '.' don't work. I want this behavior works for all double properties in complex model objects (currently I work with collections of objects, that contains identifiers and values). What i should use: Value Providers or Model Binders? Please, show code example of solving my problem. 回答1: You could use a custom model