References
Function Summary
Static Public Function Summary | ||
public |
Format a list of numbers into an accounting column, padding with whitespace to line up currency symbols, thousand separators and decimals places. |
|
public |
formatMoney(amount: Number, opts: Object): String Format a number into currency. |
|
public |
formatNumber(number: Number, opts: Object): String Format a number, with comma-separated thousands and custom precision/decimal places. |
|
public |
Implementation of toFixed() that treats floats more like decimals. |
|
public |
Takes a string/array of strings, removes all formatting/cruft and returns the raw float value. |
Variable Summary
Static Public Variable Summary | ||
public |
The library's default settings configuration object. Contains default parameters for currency and number formatting. |
Typedef Summary
Static Public Typedef Summary | ||
public |
CurrencyFormat: Format Currency format interface. |
|
public |
The library's settings configuration interface. |