Skip to content

Negative rounding up is not consistent #758

@manoharanamphora

Description

@manoharanamphora

When using numbro(12.455).format({mantissa:2});, it returns "12.46". However, for negative numbers like numbro(-12.455).format({mantissa:2});, it returns "-12.45" instead of "-12.46", which should be the expected rounded value.

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