1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00

Corrected config comments re toFormat

This commit is contained in:
Michael Mclaughlin 2014-11-25 20:28:56 +00:00
parent 8ca98c1735
commit da6ae2b716

View File

@ -1273,9 +1273,6 @@
* fractionGroupSize : 0 * fractionGroupSize : 0
* }; * };
* *
* If groupFractionDigits is truthy, fraction digits will be separated into 5-digit groupings
* using the space character as separator.
*
* [dp] {number} Decimal places. Integer, -MAX_DIGITS to MAX_DIGITS inclusive. * [dp] {number} Decimal places. Integer, -MAX_DIGITS to MAX_DIGITS inclusive.
* [rm] {number} Rounding mode. Integer, 0 to 8 inclusive * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive
* *
@ -3182,11 +3179,12 @@
* modulo {number} * modulo {number}
* *
* format {object} See Decimal.prototype.toFormat * format {object} See Decimal.prototype.toFormat
* decimalSeparator {string} * decimalSeparator {string}
* groupSeparator {string} * groupSeparator {string}
* groupSize {number} * groupSize {number}
* secondaryGroupSize {number} * secondaryGroupSize {number}
* groupFractionDigits {boolean|number} * fractionGroupSeparator {string}
* fractionGroupSize {number}
* *
* A format object will replace the existing Decimal.format object without any property * A format object will replace the existing Decimal.format object without any property
* checking. * checking.