Skip to content

roundingMode w/ -0 #21

@FrankYFTang

Description

@FrankYFTang

In http://userguide.icu-project.org/formatparse/numbers/rounding-modes
We see how each roundingMode return for some sample number
But in JavaScript we have -0 in additional to 0 :
What should -0 return when roundingMode: "up"? Should it be 0 or -1?
What should -0 return when roundingMode: "floor"? Should it be 0 or -1?

Metadata

Metadata

Assignees

No one assigned

    Labels

    has-consensusHas consensus and ready to implement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions