yiisoft/yii — pull request #1594 by SonkoDmitry (2012-10-23 10:31:12+00:00)
Title: Fix #109: change round() to number_format()

change round() to number_format() and fix with optional digit in decimal digit part. all tests in "tests\framework\i18n\CNumberFormatterTest.php" passed
>C:\OpenServer\domains\yii-test.local\public_html\yii\tests>phpunit framework\i18\CNumberFormatterTest.php
>PHPUnit 3.7.8 by Sebastian Bergmann.
>
>Configuration read from C:\OpenServer\domains\yii-test.local\public_html\yii\tests\phpunit.xml
>
>...
>
>Time: 0 seconds, Memory: 3.50Mb
>
>OK (3 tests, 42 assertions)