Skip to content
jQuery Price Format Plugin is useful to format input fields and HTML elements as prices. For example, if you type 123456, the plugin updates it to US$ 1,234.56. It is costumizable, so you can use other prefixes, separators, suffixes, plus sign, minus sign and so on. Check out the examples below.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs gulp minify html and css Jan 22, 2017
.editorconfig Add editor config and change .gitignore Jan 16, 2017
.gitignore Merge branch 'master' into master Jan 16, 2017
.travis.yml Adding travis.ci to the project Oct 22, 2016
LICENSE Update LICENSE Jul 15, 2017
README.md Alter URLs from personal github to the org URL Jan 17, 2019
gulpfile.js gulp minify html and css Jan 22, 2017
jquery.priceformat.js add field variable inside priceToFloat Oct 29, 2017
jquery.priceformat.min.js
package.json Changed version on package.json file Jul 6, 2017
params.json Create master branch via GitHub Oct 22, 2016
price-format.jquery.json Fixing Json files, keywords, dependecies Sep 3, 2016
prototype.priceformat.js
prototype.priceformat.min.js rename files Jun 22, 2016
yarn.lock Improvement/Added use strict and fix vars declaration Jul 6, 2017

README.md

Jquery-Price-Format license GitHub issues Codacy Badge

jQuery Price Format Plugin is useful to format input fields and HTML elements as prices. For instance if you enter 123456 the plugin automagically formats it as US$ 1,234.56.

Surely it is costumizable so you can use other prefixes, separators, suffixes, plus and minus signs etc. Check out some awesome examples.

Installation

npm install --save https://github.com/flaviosilveira/Jquery-Price-Format.git

Usage

  1. Install or download the jquery.priceformat.min.js
  2. Include the proper script tag in your HTML, e.g.:
    <script src="./your-project/jquery.priceformat.min.js"></script>
  3. Customize as in the examples and enjoy it!

Contributing

Please contribute using Github Flow:

  1. Fork it
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Any doubt open an issue or drop a line:

Author Maintainers Collaborators
github/cuducos
Eduardo Cuducos
github/flaviosilveira github/nandomoreirame
Flávio da Silveira and Fernando Moreira
An awesome group of people

History

Check out releases for a detailed changelog.

License

Code is under MIT License
Copyright © jQuery-Price-Format

You can’t perform that action at this time.