# Jquery-Price-Format [![license](https://img.shields.io/github/license/price-format/Jquery-Price-Format.svg)](https://github.com/price-format/Jquery-Price-Format/blob/master/LICENSE) [![GitHub issues](https://img.shields.io/github/issues/price-format/Jquery-Price-Format.svg)](https://github.com/price-format/Jquery-Price-Format/issues) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/4e3d85321e8741d194d1fcf993dc0352)](https://www.codacy.com/app/flavioaugustosilveira/Jquery-Price-Format?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=flaviosilveira/Jquery-Price-Format&amp;utm_campaign=Badge_Grade)

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**](http://price-format.github.io/Jquery-Price-Format/).

## Installation

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

## Usage

1. [Install](#installation) or download the  [jquery.priceformat.min.js](/jquery.priceformat.min.js)
2. Include the proper `script` tag in your HTML, e.g.:<br>`<script src="./your-project/jquery.priceformat.min.js"></script>`
3. Customize as in the [examples](http://price-format.github.io/Jquery-Price-Format/) and enjoy it!

## Contributing

Please contribute using [Github Flow](https://guides.github.com/introduction/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](https://github.com/price-format/Jquery-Price-Format/issues) or drop a line:

| Author | Maintainers | Collaborators |
|:------:|:-----------:|:-------------:|
| [![github/cuducos](https://avatars6.githubusercontent.com/u/4732915?v=4&s=100)](https://github.com/cuducos/ "cuducos github profile")<br>[Eduardo Cuducos](https://github.com/cuducos/) | [![github/flaviosilveira](https://avatars6.githubusercontent.com/u/373688?v=4&s=100)](https://github.com/flaviosilveira/ "flaviosilveira github profile") [![github/nandomoreirame](https://avatars6.githubusercontent.com/u/1318271?v=4&s=100)](https://github.com/nandomoreirame/ "nandomoreirame github profile")<br>[Flávio da Silveira](https://github.com/flaviosilveira/) and [Fernando Moreira](https://github.com/nandomoreirame/) | [An awesome group of people](https://github.com/price-format/Jquery-Price-Format/graphs/contributors)


## History

Check out [releases](https://github.com/price-format/Jquery-Price-Format/releases) for a detailed changelog.

## License

Code is under [MIT License](/LICENSE)<br>Copyright © jQuery-Price-Format
