Skip to content

Commit e62ad54

Browse files
committed
Complete 'precision' property description
1 parent 3a9aa43 commit e62ad54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @property {String|Object} [format='%s%v'] - Controls output: %s = symbol, %v = value (can be object, see docs)
77
* @property {String} [decimal='.'] - Decimal point separator
88
* @property {String} [thousand=',] - Thousands separator
9-
* @property {Number} [precision=2] - Decimal places
9+
* @property {Number} [precision=2] - Number of decimal places to round the amount to
1010
* @property {Number} [grouping=3] - Digit grouping (not implemented yet)
1111
* @property {Boolean} [stripZeros=false] - Strip insignificant zeros from decimal part
1212
* @property {Float} [fallback=0] - Value returned on unformat() failure

0 commit comments

Comments
 (0)