molla2005b Posted April 14, 2015 Posted April 14, 2015 accounting.js is a tiny JavaScript library by Open Exchange Rates, providing simple and advanced number, money and currency formatting. Features custom output formats, parsing/unformatting of numbers, easy localisation and spreadsheet-style column formatting (to line up symbols and decimals). It's lightweight, has no dependencies and is suitable for all client-side and server-side JavaScript applications. Library Methods formatMoney() - format any number into currency formatColumn() - format a list of values for column-display formatNumber() - format a number with custom precision and localisation toFixed() - better rounding for floating point numbers unformat() - parse a value from any formatted number/currency string see. http://openexchangerates.github.io/accounting.js/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.