diff options
author | gxgpet <gxgpet@users.noreply.github.com> | 2016-10-20 10:56:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-20 10:56:03 +0200 |
commit | 4b2b27199025d3c5a6f9b1eee19340c45ec7f2a2 (patch) | |
tree | bf93b8b98329ad257e7f033a9319e8ecf759ad56 /user_guide_src | |
parent | 433ebc5814cda44a93664812f28e030f61732564 (diff) |
- fixed docs
Diffstat (limited to 'user_guide_src')
-rw-r--r-- | user_guide_src/source/helpers/number_helper.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/user_guide_src/source/helpers/number_helper.rst b/user_guide_src/source/helpers/number_helper.rst index 20acdec18..47f616690 100644 --- a/user_guide_src/source/helpers/number_helper.rst +++ b/user_guide_src/source/helpers/number_helper.rst @@ -53,13 +53,13 @@ The following functions are available: .. php:function:: ordinal_format($number) - :param int $number: Non-negative natural number to be converted + :param int $number: natural number to be converted :returns: Ordinal numeral for given number or FALSE on failure :rtype: string - Returns the ordinal numeral (1st, 2nd, 3rd etc.) for a - non-negative natural number. If the input is not a natural number - greater than 0, the function will return boolean FALSE. Examples:: + Returns the ordinal numeral (0th, 1st, 2nd, 3rd etc.) for a + natural number. If the input is not a natural number, the + function will return boolean FALSE. Examples:: echo ordinal_format(1); // Returns 1st echo ordinal_format(3); // Returns 3rd |