
/**
 * USTaxRule.java
 *
 *
 * Created: Tue Nov 19 20:02:20 2002
 *
 * @author <a href="mailto:bina@cse.buffalo.edu "</a>
 * @version
 */

public class USTaxRule extends TaxRule{
   public USTaxRule (){
      
   }
   public Object computeTax(Object inp)
   {
      double salesTax = 0.08;

      double total = ((Double)inp).doubleValue();
      total = total + total*salesTax;
      return (new Double(total));
   }
      
}// USTaxRule
