# Romanian pluralization rules are wrong

**URL:** <https://meta.discourse.org/t/romanian-pluralization-rules-are-wrong/41761>\
**Category:** Bug\
**Created:** [3월 30, 2016, 1:12오후 UTC](https://meta.discourse.org/t/romanian-pluralization-rules-are-wrong/41761 "2016-03-30T13:12:31Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![tibarra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tibarra/32/52222_2.png) [@tibarra](https://meta.discourse.org/u/tibarra)\
**Post date:** [3월 30, 2016, 8:48오후 UTC](https://meta.discourse.org/t/romanian-pluralization-rules-are-wrong/41761/5 "2016-03-30T20:48:19Z")

</div>

I think you forgot to take care of the 100 modules in your logic as in this section:

```plaintext
if (n === 0 || n != 1 && (n % 100) >= 1 &&
      (n % 100) <= 19 && n == Math.floor(n)) {
    return 'few';
  }

```

I made a PR with that conditionals too, but your solution was great! Cheers!

[https://github.com/discourse/discourse/pull/4127](https://github.com/discourse/discourse/pull/4127)

---

_[View the full topic](https://meta.discourse.org/t/romanian-pluralization-rules-are-wrong/41761)._
