Sign in Sign up
nuget

DecimalModelBinder

**IMPORTANT** Add the code below to your Global.asax > Application_Start() in order to load the binder in the application start: ModelBinders.Binders.Add(typeof(decimal), new DecimalModelBinder()); This is the code from http://haacked.com/archive/2011/03/19/fixing-binding-to-decimals.aspx/ with a few changes to work with invariant culture and multiple currency types in the same Model/page.

nuget View on Nuget

Activity

Latest release
12y ago
Total releases
2
Cadence
~18 days
Last 12 months
0

Details

First release
Apr 24, 2014
Releases
Version Released
1.0.1 patch
1.0.0 initial