diff --git a/index.html b/index.html index 49aa9d7..0e17199 100644 --- a/index.html +++ b/index.html @@ -82,8 +82,8 @@
The base function of the library, which takes any number or array of numbers, runs accounting.unformat() to remove any formatting, and returns the number(s) formatted with separated thousands and custom precision:
accounting.formatNumber(5318008); // 5,318,008 -accounting.formatNumber(9876543.21, 3, " "); // 9 876 543.210+
accounting.formatNumber(5318008); // "5,318,008" +accounting.formatNumber(9876543.21, 3, " "); // "9 876 543.210"