mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
Update Formatter.php
This commit is contained in:
@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user