PluralRules (class)

Class PluralRules

Utility class used to determine the plural number to be used for a variable base on the locale

Namespace: Cake\I18n
Located at I18n/PluralRules.php

Method Detail

calculatesource public static

calculate( string $locale , integer|float $n )登录查看完整内容