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 528 forks source link

Format negative values #65

Closed cyberwombat closed 11 years ago

cyberwombat commented 11 years ago

If I use accounting with a negative value I get $-5.00 instead of -$5.00 which appears to be the standard way of displaying negative currency

cyberwombat commented 11 years ago

Shucks... just read the docs. rtfm.