diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2011-11-30 21:07:53 +0100 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2011-11-30 21:07:53 +0100 |
| commit | dd99675f7223b0fb659e4146544969e2aa978fa9 (patch) | |
| tree | d8e4376e9c1dfb74ec4e872119f8754e0d92bae6 /phpBB/includes/session.php | |
| parent | b195fce0a47932775dfd47159c6f40509318dbaf (diff) | |
| download | forums-dd99675f7223b0fb659e4146544969e2aa978fa9.tar forums-dd99675f7223b0fb659e4146544969e2aa978fa9.tar.gz forums-dd99675f7223b0fb659e4146544969e2aa978fa9.tar.bz2 forums-dd99675f7223b0fb659e4146544969e2aa978fa9.tar.xz forums-dd99675f7223b0fb659e4146544969e2aa978fa9.zip | |
[ticket/10345] Document behaviour for floating numbers on phpbb_get_plural_form
The numbers are floored by casting to int.
PHPBB3-10345
Diffstat (limited to 'phpBB/includes/session.php')
| -rw-r--r-- | phpBB/includes/session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index eb84cd81fe..808d1a4a7f 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -1914,7 +1914,7 @@ class user extends session * Determine which plural form we should use. * For some languages this is not as simple as for English. * - * @param $number int|float The number we want to get the plural case for + * @param $number int|float The number we want to get the plural case for. Float numbers are floored. * @param $force_rule mixed False to use the plural rule of the language package * or an integer to force a certain plural rule * @return int The plural-case we need to use for the number plural-rule combination |
