yiisoft/yii2 — pull request #5261 by sergebezborodov (2014-09-30 09:42:16+00:00)
Title: Changed order of attributes setting in Formatter

When we need asCurrency result without decimals setting constant *FRACTION_DIGITS must follow setTextAttribute, else not work.

Please see comment at http://php.net/manual/en/numberformatter.formatcurrency.php#114376