Class CurrencyConverter

java.lang.Object
  extended by CurrencyConverter

public class CurrencyConverter
extends java.lang.Object


Constructor Summary
CurrencyConverter()
           
 
Method Summary
 double fromDollar(double dollar)
           
 void setExchangeRate(double rate)
           
 double toDollar(double foreignMoney)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrencyConverter

public CurrencyConverter()
Method Detail

fromDollar

public double fromDollar(double dollar)

setExchangeRate

public void setExchangeRate(double rate)

toDollar

public double toDollar(double foreignMoney)