santhoshtr/CLDRPluralRuleParser — pull request #15 by eemeli (2014-09-26 10:05:12+00:00)
Title: Fix handling of non-integer values

I found this by chasing the source for an issue raised by @rxaviers here: eemeli/make-plural.js#2

In brief, at least the function `_in()` makes an incorrect comparison on [line 466](/santhoshtr/CLDRPluralRuleParser/blob/master/src/CLDRPluralRuleParser.js#L466) by discarding the fractional part of the inputs, so we end up with:

```sh
$ ./src/cli.js 'n = 1' '1.1'
true
```

This does not match the [syntax](http://unicode.org/reports/tr35/tr35-numbers.html#Plural_rules_syntax), which takes `n` as "absolute value of the source number (integer and decimals)" and defines the `in_relation` set by `=` as "only includes integers in the specified range".