Skip to content

Commit

Permalink
Added comment about $currency when it is null
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrogehlen committed May 30, 2014
1 parent 55ad347 commit 0efa0fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/i18n/Formatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ public function asDecimal($value, $format = null)
* Formats the value as a currency number.
* @param mixed $value the value to be formatted
* @param string $currency the 3-letter ISO 4217 currency code indicating the currency to use.
* If null, [[currencySymbol]] will be used.
* @param string $format the format to be used. Please refer to [ICU manual](http://www.icu-project.org/apiref/icu4c/classDecimalFormat.html#_details)
* for details on how to specify a format.
* @return string the formatted result.
Expand Down

0 comments on commit 0efa0fa

Please sign in to comment.