Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author joost de keijzer

    (@joostdekeijzer)

    Hi CRJBauer,

    Hmmm, yes it does insert a space between the currency symbol and the amount by default…

    To remove, currently, you will need to change the code.

    Open eurofxref.php and jump to around line 94.

    From there on, you will have to “read” the code.

    $currency[$to] and $currency[$from] are the currency symbols. $s is the space (it’s in a variable). $amount and $cAmount are the input amount and the converted amount.

    All the variables are concerned by dots, so you will find:
    $currency[$from] . $s . $amount
    and change that to
    $currency[$from] . $amount.

    The same with:
    $currency[$to] . $s . $cAmount (change to $currency[$to] . $cAmount).

    Good luck!

    Thread Starter CRJBauer

    (@crjbauer)

    Many thanks for your very quick response. I followed your instructions and was able to make the changes. Also, thank you for creating this plugin in the first place. It is very useful.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing space between currency symbol and value’ is closed to new replies.