I can't remove comma after currency in commerce price In my project I had to change currency code from USD to IRR (Iranian Rial)

but in Persian language after currency, there is always a "," character in rendered price (in price component or formatted amount).

Anyone knows how can we get rid from this comma.
In commerce.currency.inc the currency is defined as:

'IRR' =&gt; array(
  'code' =&gt; 'IRR',
  'numeric_code' =&gt; '364',
  'symbol' =&gt; 'REMOVED_DUE_TO_SE_ERROR',
  'name' =&gt; t('Iranian Rial'),
  'symbol_placement' =&gt; 'before',
  'symbol_spacer' =&gt; ',',
  'code_placement' =&gt; 'hidden',
  'minor_unit' =&gt; t('Rial'),
  'major_unit' =&gt; t('Toman'),
  'decimals' =&gt; 0,
),


If you wanted to override this and set the thousands_separator (not present) to and empty string. You can do this in hook_commerce_currency_info, documented here http://cgit.drupalcode.org/commerce/tree/commerce.api.php?h=7.x-1.x#n11

You need to set it as, let's say '' because the defaults are the following for missing properties:

  $defaults = array(
    'symbol' =&gt; '',
    'minor_unit' =&gt; '',
    'decimals' =&gt; 2,
    'rounding_step' =&gt; 0,
    'thousands_separator' =&gt; ',',
    'decimal_separator' =&gt; '.',
    'symbol_placement' =&gt; 'hidden',
    'symbol_spacer' =&gt; ' ',
    'code_placement' =&gt; 'after',
    'code_spacer' =&gt; ' ',
    'format_callback' =&gt; '',
    'conversion_callback' =&gt; '',
    'conversion_rate' =&gt; 1,
  );