Update Formatter.php

This commit is contained in:
Carsten Brandt
2018-12-03 11:33:40 +01:00
committed by GitHub
parent fe07177ddd
commit 8bccbd595d

View File

@ -1322,12 +1322,12 @@ class Formatter extends Component
* *
* This function requires the [PHP intl extension](http://php.net/manual/en/book.intl.php) to be installed. * This function requires the [PHP intl extension](http://php.net/manual/en/book.intl.php) to be installed.
* *
* This formatter does not work well with very big numbers.
*
* @param mixed $value the value to be formatted * @param mixed $value the value to be formatted
* @return string the formatted result. * @return string the formatted result.
* @throws InvalidArgumentException if the input value is not numeric or the formatting failed. * @throws InvalidArgumentException if the input value is not numeric or the formatting failed.
* @throws InvalidConfigException when the [PHP intl extension](http://php.net/manual/en/book.intl.php) is not available. * @throws InvalidConfigException when the [PHP intl extension](http://php.net/manual/en/book.intl.php) is not available.
*
* This formatter does not work well with very big numbers.
*/ */
public function asOrdinal($value) public function asOrdinal($value)
{ {