From f2323424f317b7a588e4078a753db998c4f971f9 Mon Sep 17 00:00:00 2001 From: Colin Rudd Date: Wed, 17 Oct 2018 09:50:52 -0400 Subject: [PATCH 1/2] Documentation tweak --- src/formatting.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/formatting.js b/src/formatting.js index ebc3b6a6..de429c42 100644 --- a/src/formatting.js +++ b/src/formatting.js @@ -473,9 +473,9 @@ function toFixed(value, precision) { * * @param {string} output - output being build in the process of formatting * @param {number} value - number being currently formatted - * @param {boolean} optionalMantissa - `true` if the mantissa is omitted when it's only zeroes + * @param {boolean} optionalMantissa - if `true`, the mantissa is omitted when it's only zeroes * @param {number} precision - desired precision of the mantissa - * @param {boolean} trim - desired precision of the mantissa + * @param {boolean} trim - if `true`, trailing zeroes are removed from the mantissa * @return {string} */ function setMantissaPrecision(output, value, optionalMantissa, precision, trim) { From 55e2821a6207d632d43583cc60db9c26a72e9aa9 Mon Sep 17 00:00:00 2001 From: Colin Rudd Date: Wed, 17 Oct 2018 09:55:07 -0400 Subject: [PATCH 2/2] Added Colin Rudd --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 85c05572..a01dfb26 100644 --- a/AUTHORS +++ b/AUTHORS @@ -7,6 +7,7 @@ Andrei Alecu https://github.com/andreialecu badplum (https://github.com/badplum) Benedikt Huss (https://github.com/ben305) Benjamin Van Ryseghem (https://benjamin.vanryseghem.com) +Colin Rudd (https://github.com/cnrudd) Dan Ristic (https://github.com/dristic) Dave Clayton (https://github.com/davedx) Dieter Luypaert (https://github.com/moeriki)