code: function(nr, dec, decPoint, thousandSep){
  		decPoint||(decPoint = '.');
  		thousandSep||(thousandSep = ',');
  		dec = isNaN(dec = Math.abs(dec)) ? 2 : dec;
  		var sign = (nr < 0) ? '-' : '',
  			i = parseInt(nr = Math.abs(+nr || 0).toFixed(dec), 10) + '',
  			j = (j = i.length) > 3 ? j % 3 : 0;
  		return sign + (j ? i.substr(0, j) + thousandSep : '') + i.substr(j).replace(/(\d{3})(?=\d)/g, '$1' + thousandSep) + (dec ? decPoint + Math.abs(nr - i).toFixed(dec).slice(2) : '');
  	}
docs: Format money. Usage: {{=helpers.money(3.5, 2, ',', '.')}}
  @param {number} nr - The quantity
  @param {number} [dec=2] - Optional decimal positions (defaults to 2)
  @param {string} [decPoint=.] - Optional decimal point character (defaults to ".")
  @param {string} [thousandSep=,] - Optional thousand separator character (defaults to ",")
  @returns {string}