Extend the default Number object with a formatMoney() method: // usage: someVar.formatMoney(decimalPlaces, symbol, thousandsSeparator, ...
確定! 回上一頁