Skip to content

Is there a way to always floor the result? #46

@masinamichele

Description

@masinamichele

Hello,
Is there an option to specify the library should always floor the rounding?
Currently 1390 gets displayed as 1.4k, I would like for it to show 1.3k while the input value is strictly less than 1400.

In other words, I'd like to never show a value actually higher than the input.

Just for reference, the options I'm currently using are { maxDecimals: 'auto', separator: '' }.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions