-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I would like to specify a maximum number of significant digits for a number, so that I may better estimate how much space to allocate in design. Currently I may only specify precision and control decimals.
Currently:
millify(123456, {precision: 2})returns123.45K
Proposed:
millify(123456, {digits: 3})returns123Kmillify(1234, {digits: 3})returns1.23K.
I'm willing to work on a patch if this is in scope for millify.
Metadata
Metadata
Assignees
Labels
No labels