Skip to content

Support numeralJs-like abbreviations #14

@jfstephe

Description

@jfstephe

Hi,
I noticed recently that NumeralJs includes abbreviations such as:

|    value | format | result
|  1230974 | '0.0a' |   1.2m
|     1460 |  '0 a' |    1 k
|  -104000 |   '0a' |  -104k

I was wondering if you had any plans on supporting such functionality? I mention it only because I know you are looking into rewriting this library and if it's not too much hassle this would be great to support. As an aside, NumeralJs also supports 'order' (1st, 2nd etc) too.

If/when this becomes critical to me I'll happily look into creating a PR.

Many thanks as always!
John

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions