Canvas includes the accounting.js library. With accounting.js you can do advance formatting for number, money and currency.