From a195d7e782108d0a5e4be969499dd6093e4b83ea Mon Sep 17 00:00:00 2001 From: jba32 <41096026+jba32@users.noreply.github.com> Date: Fri, 7 Sep 2018 18:06:45 -0400 Subject: [PATCH] Fixed typos --- accounting.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);