﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
16723	Pluralize filter shouldn't pluralize decimal/float values between 1 and 2	Ryan Fugger		"The pluralize filter's support for floating point/decimal numbers is buggy.  Its check for plurality is:

{{{
if int(value) != 1
}}}

which unfortunately catches floats 1.0 < x < 2.0 that shouldn't be pluralized in English. 

Example:

{{{
pound{{ weight|pluralize:""s"" }}
}}}

When `weight` is 1.3, this gives ""1.3 pound"", which is incorrect.  ""1.3 pounds"" is the expected result.

The filter should probably also pluralize 1.0 when it is given as a floating point/decimal number, because native speakers will generally pluralize all decimal numbers.  (""One-point-oh hours,"" not ""One-point-oh hour"".)

Reference:
http://www.englishforums.com/English/1119PluralOrSingular/wdvmb/post.htm#684376"	Bug	closed	Template system	dev	Normal	invalid		arv@… adam@… Daniel Watkins	Accepted	1	0	0	0	0	0
