European formatting (custom symbol and separators), can also use options object as second parameter:Īccounting.formatMoney(4999.99, "€", 2, ".", ",") // €4.999,99 The most basic library function for formatting numbers as money values, with customisable currency symbol, precision (decimal places), and thousand/decimal separators: // Default usage:Īccounting.formatMoney(12345678) // $12,345,678.00
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |