Skip to content
Append Css class="numberformat currency" to automatically format text fields with thousand separators
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Autoformat numbers to show thousand separators as delimiters.
See that form fields with css classes can autoformat number. 
Just add css class="numberformat currency" to a text field, and it will be formatted automatically.

This code is open so you could add more behaviour later. For instance add more formatters (not only currency).

TODO: Add more formatters (not only currency)
TODO: Make thousand/decimal delimiters globally modifiable so that the js file does not have to be changed
      in a project.

Created by Jesper Rønn-Jensen, 2008-08-17


LICENSE: Open Source, Creative Commons ShareAlike 
You can’t perform that action at this time.