Location: PHPKode > scripts > Google Currency Converter > google-currency-converter/example.php
<?php
require_once("GoogleCurrencyConvertor.inc.php");
$googleCurrencyConvertor = new GoogleCurrencyConvertor("1","USD","INR");
echo "Rate: ".$googleCurrencyConvertor->getRate();
echo "<br />Reverse Rate: ".$googleCurrencyConvertor->getReverseRate();
?>
Return current item: Google Currency Converter