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

Closed
pkozlowski-opensource wants to merge 1 commit into
angular:masterfrom
pkozlowski-opensource:number_filter_refactor
Closed

fix(numberFilter): numbers rounding to zero shouldn't be negative#10278
pkozlowski-opensource wants to merge 1 commit into
angular:masterfrom
pkozlowski-opensource:number_filter_refactor

Conversation

@pkozlowski-opensource

Copy link
Copy Markdown
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
Copy Markdown

CLAs look good, thanks!

@lgalfaso

lgalfaso commented Dec 1, 2014

Copy link
Copy Markdown
Contributor

LGTM

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

lgalfaso commented Dec 1, 2014

Copy link
Copy Markdown
Contributor

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