openexchangerates / accounting.js

A lightweight JavaScript library for number, money and currency formatting - fully localisable, zero dependencies.
http://openexchangerates.github.io/accounting.js
MIT License
4.95k stars 532 forks source link

need option to set format for negative numbers #10

Closed millermedeiros closed 13 years ago

millermedeiros commented 13 years ago

usually in financial applications negative numbers are represented surrounded by () like (1,234.56) since it is easier to read then -1,234.56

wjcrowcroft commented 13 years ago

merged into #17 - proposal for formatting specification