Symfony\Component\Intl\NumberFormatter\NumberFormatter::formatCurrency
Format a currency value
Signature
public function formatCurrency(float
$value,
string
$currency )
Parameters
$value
— float- The numeric currency value
$currency
— string- The 3-letter ISO 4217 currency code indicating the currency to use
Returns
- string
- The formatted currency value