Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

fix(numberFilter): numbers rounding to zero shouldn't be negative #10278

Conversation

pkozlowski-opensource
Copy link
Member

@lgalfaso here is a little PR for the numberFilter that doesn't aim at changing the current code structure. My goal here was to share tests that I've added while looking at this filter code. IMO it would be good to get them in before doing bigger refactorings on this filter.

As a side effect this PR fixes inconsistency in formatting numbers that round to zero.

Once again, I'm not trying to clean up the whole code here but do minimal changes that fixes inconsistencies and bring in more tests. For me the value of this PR is in tests.

@googlebot
Copy link

CLAs look good, thanks!

@lgalfaso
Copy link
Contributor

lgalfaso commented Dec 1, 2014

LGTM

@lgalfaso lgalfaso added this to the 1.3.6 milestone Dec 1, 2014
@lgalfaso
Copy link
Contributor

lgalfaso commented Dec 1, 2014

Labeled it for 1.3.6, but if this lands today, please mark it as 1.3.5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants