Jump to content

Recommended Posts

Posted

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/

 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...