Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly pluralize floats between 1 and 2 #96

Merged
merged 1 commit into from
Dec 8, 2015

Commits on Dec 8, 2015

  1. Correctly pluralize floats between 1 and 2

    This fixes emberjs#94
    
    It also adds some test additional test cases to document the current
    behavior.
    
    One additional strange bit is that the float 1.0 is returned as 1 when
    concatenated into the string. I'm not sure if this is the ideal response
    but I did not see any clear way to handle keeping that as 1.0 in the
    returned string. This is the current behavior so changing it might
    cause some unintended side-effects.
    HeroicEric committed Dec 8, 2015
    Configuration menu
    Copy the full SHA
    2bfa456 View commit details
    Browse the repository at this point in the history