UserFrosting API

Rule6 implements RuleInterface

Families: Baltic (Lithuanian) 1 - ends in 1, not 11: 1, 21, 31, ... 101, 121, ... 2 - ends in 0 or ends in 10-20: 0, 10, 11, 12, ... 19, 20, 30, 40, ... 3 - everything else: 2, 3, ... 8, 9, 22, 23, ... 29, 32, 33, .

..

Tags
see
https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals#Plural_rule_6_(3_forms)

Table of Contents

getRule() Return the rule to apply. int

Methods

getRule()

Return the rule to apply.

public static getRule( $number : mixed ) : int
Parameters
$number : mixed

The number we want the rule for

Return values
int

The rule

Search results