Skip to content

Rounding with decimalScale={1} #820

@cwagner22

Description

@cwagner22

<NumericFormat value={51.97} decimalScale={1} />
renders 52.0 which is wrong in my opinion, it should be 52, without decimals.

https://codesandbox.io/p/sandbox/decimalscale-demo-forked-7zky75

Related to maximumFractionDigits mentioned in #752

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions