diff --git a/accounting.js b/accounting.js index fd181fd..62b8847 100644 --- a/accounting.js +++ b/accounting.js @@ -231,7 +231,7 @@ * 2nd parameter `precision` can be an object matching `settings.number` */ var formatNumber = lib.formatNumber = lib.format = function(number, precision, thousand, decimal) { - // Resursively format arrays: + // Recursively format arrays: if (isArray(number)) { return map(number, function(val) { return formatNumber(val, precision, thousand, decimal); @@ -276,7 +276,7 @@ * To do: tidy up the parameters */ var formatMoney = lib.formatMoney = function(number, symbol, precision, thousand, decimal, format) { - // Resursively format arrays: + // Recursively format arrays: if (isArray(number)) { return map(number, function(val){ return formatMoney(val, symbol, precision, thousand, decimal, format);