code: public static StandardPlural selectPlural(double number, NumberFormat numberFormat, PluralRules rules) {
          String pluralKeyword;
          if (numberFormat instanceof DecimalFormat) {
              pluralKeyword = rules.select(((DecimalFormat) numberFormat).getFixedDecimal(number));
          } else {
              pluralKeyword = rules.select(number);
          }
          return StandardPlural.orOtherFromString(pluralKeyword);
      }
docs: Selects the standard plural form for the number/formatter/rules.