Angular directive to allow only decimal numbers for the input type text.
An AngularJS directive to allow only decimal numbers in input field.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
Give examples
Download the [decimalNumberInput.js][srcfile] into your project and reference it in your index.html.
Finally, add a module reference (typically in app.js) to decimalNumberInput. e.g.:
angular.module('yourApp', [// ... other modules ...,'decimalNumberInput']);
<input type="text" decimal-number-input />
Add additional notes about how to deploy this on a live system
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details