UserFrosting API

Rule12 implements RuleInterface

Families: Semitic (Arabic).

1 - 1 2 - 2 3 - ends in 03-10: 3, 4, ... 10, 103, 104, ... 110, 203, 204, ... 4 - ends in 11-99: 11, ... 99, 111, 112, ... 5 - everything else: 100, 101, 102, 200, 201, 202, ... 6 - 0

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