DecimalModelBinder 1.0.1

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 with a few changes to work with invariant culture and multiple currency types in the same Model/page.

Install-Package DecimalModelBinder -Version 1.0.1
dotnet add package DecimalModelBinder --version 1.0.1
<PackageReference Include="DecimalModelBinder" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DecimalModelBinder --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on DecimalModelBinder:

Package Downloads
Currency HTML Helper for handling decimal currency fields. Uses JQuery for mask.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 2,172 5/13/2014
1.0.0 1,201 4/24/2014