NumberFormatter::formatCurrency()

string formatCurrency(float $value, string $currency)

Format a currency value.

Parameters

float $value The numeric currency value
string $currency The 3-letter ISO 4217 currency code indicating the currency to use

Return Value

string The formatted currency value

See also

http://www.php.net/manual/en/numberformatter.formatcurrency.php
https://en.wikipedia.org/wiki/ISO_4217#Active_codes
doc_Symfony
2016-10-28 06:24:56
Comments
Leave a Comment

Please login to continue.