You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our number format for Farsi ("fa") puts the currency symbol before the amount.
However, PHP's native NumberFormatter varies the symbol location based on the currency:
$formatter = new \NumberFormatter('fa', \NumberFormatter::CURRENCY);
echo $formatter->formatCurrency('645000', 'USD'); // Symbol before the amount
echo $formatter->formatCurrency('645000', 'IRR'); // Symbol after the amount
This could be related to #65, where our logic is too simplistic.
The text was updated successfully, but these errors were encountered:
Our number format for Farsi ("fa") puts the currency symbol before the amount.
However, PHP's native NumberFormatter varies the symbol location based on the currency:
This could be related to #65, where our logic is too simplistic.
The text was updated successfully, but these errors were encountered: