Hello there.
I used this method too and its not working 100%.
At the replace of currency symbol topic, if you have euro, try this:
$newcurr= str_replace(chr(0xE2).chr(0x82).chr(0xAC), '', $vars);
because otherwise Euro character is not recognized
So, if i echo $newcurr, then i can see my percentage, without % symbol and with decimals.
If i use the next line:
$newcurr2=str_replace(',00','%',$newcurr);?>
and echo $newcurr2 variable then my decimals are still there. I also tried round function with no success. Any idea of how to make decimals disappear?
Thank you in advance