View Full Version : Ext.util.Format.plural -1 plural

10 Feb 2011, 8:10 AM
Right now if you do this:

Ext.util.Format.plural(-1, "singular", "plural")

it will return

-1 plural

but shouldn't it be

-1 singular

You can do a Math.abs() to the number in the checking to always return a positive number but of course still return the string with the original value in it.