Commit d53e6358 authored by ikkez's avatar ikkez
Browse files

format modifier for international currency symbol

Added a new modifier for the format string to use the international currency symbol instead of the local sign:

$f3->set('LANGUAGE','en-US');
$f3->format('{0,number, currency}', 12.99); // $12.99
$f3->format('{0,number, currency, int}', 12.99); // USD 12.99

$f3->set('LANGUAGE','de-DE');
$f3->format('{0,number, currency}', 12.99); // 12,99 €
$f3->format('{0,number, currency, int}', 12.99); // 12,99 EUR
parent 4b6c68c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment