UserFrosting API

Rule13 implements RuleInterface

Families: Semitic (Maltese) 1 - 1 2 - is 0 or ends in 01-10: 0, 2, 3, ... 9, 10, 101, 102, ... 3 - ends in 11-19: 11, 12, ... 18, 19, 111, 112, ... 4 - everything else: 20, 21, .

..

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