UserFrosting API

Rule10 implements RuleInterface

Families: Slavic (Slovenian, Sorbian) 1 - ends in 01: 1, 101, 201, ... 2 - ends in 02: 2, 102, 202, ... 3 - ends in 03-04: 3, 4, 103, 104, 203, 204, ... 4 - everything else: 0, 5, 6, 7, 8, 9, 10, 11, .

..

Tags
see
https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals#Plural_rule_10_(4_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