Visit the plugin homepage for demos and documentation: http://openexchangerates.github.io/accounting.js/
Please checkout or download the latest stable tag before using in production. Bug reports and pull requests are welcome.
v0.4.1 - Alias
v0.4 - Transferred repository to Open Exchange Rates for ongoing maintenance
v0.3.2 - Fixed package.json dependencies (should be empty object)
npm install accountingand then
var accounting = require("accounting");in your nodeJS scripts.
acounting.unformatnow also aliased as
v0.2.2 - Fixed same issue as #Num: #24 in formatNumber; switch to Google Closure Compiler for minified version.
v0.2.1 - Fixed issue #Num: #24 (locally-defined settings object was being modified by formatMoney)
formatparameter to control symbol and value position (default
"%s%v", or [symbol][value])
accounting.formatColumn( [[1,12,123,1234], [1234,123,12,1]] ), returns matching array with inner columns lined up)
accounting.toFixed(value, precision)), which treats floats more like decimals for more accurate currency rounding
NaNerrors when no value in unformat
v0.1 - First version