public class DisplayInterestTwoDigitsAfterDecimalPoint {
  public static void main(String[] args) {
    double amount = 12618.98;
    double interestRate = 0.0013;
    double interest = amount * interestRate;
    System.out.println("Interest is $" + 
      (int)(interest * 100) / 100.0);
  }
}