ICU-6291 Fix RangeConstraint.isFulfilled for 'not' & non-integers, from CLDR tests
X-SVN-Rev: 23969
This commit is contained in:
parent
8fed204664
commit
3d6e7a565d
@ -516,7 +516,7 @@ public class PluralRules implements Serializable {
|
||||
|
||||
public boolean isFulfilled(double n) {
|
||||
if (integersOnly && (n - (long)n) != 0.0) {
|
||||
return false;
|
||||
return !inRange;
|
||||
}
|
||||
if (mod != 0) {
|
||||
n = n % mod; // java % handles double numerator the way we want
|
||||
|
Loading…
Reference in New Issue
Block a user