USD ($), GBP (£), and EUR (€) converted to Philippine Peso (₱) using javascript
By: Arthur Abogadil

Below is the sample output of the javascript code (code follows), which will automatically convert one currency to Philippine Peso (Php), you can paste this to your Joomla! template, or you can create an html module and paste it:

$1.00 (US) = ₱ PHP
€1.00 (EUR) = ₱ PHP
£1.00 (GBP) = ₱ PHP

Here's the appropriate code in javascript (courtesy of http://www.coinmill.com)

     <script src="http://coinmill.com/frame.js"></script>
     <script>var currency_round=true;</script>
     $1.00 (US) = ₱ <script>currency_show_conversion(1.00,"USD","PHP");</script> PHP<br />
     €1.00 (EUR) = ₱ <script>currency_show_conversion(1.00,"EUR","PHP");</script> PHP<br />
     £1.00 (GBP) = ₱ <script>currency_show_conversion(1.00,"GBP","PHP");</script> PHP<br />


Back to home