A simple, fast and easy-to-use jQuery plugin to format numbers for display use.
| Initial | Options | Result |
|---|---|---|
| 1 | prefix: none suffix: $ digits: 2 |
|
| 2 | prefix: $ suffix: none digits: 3 |
|
| 3 | prefix: $ suffix: $ digits: 1 |
|
| 4.4444 | prefix: none suffix: none digits: 1 |
|
| 5.55555 | prefix: none suffix: none digits: 2 |
|
| 6.66666 | prefix: none suffix: none digits: 2 rounding: false |
|
| 6.66666 | fr | |
| 6.66666 | en |