public static double presentValue(double future, double interest, double years)
   {
      // Variables 
      double presentValue;
      double percent;
      
      // Convert percent to decimal.
      percent = interest/100;
      
      // Run the present value equation.
      presentValue = future / (Math.pow((1 + percent), years));
   
      return presentValue;
   
   
   }