summaryrefslogtreecommitdiff
path: root/testsuite/java.lang/FloatingDecimalTest.java
blob: f49ef7b88e312919305dca60aca3aa46cf029bfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public class FloatingDecimalTest
{
  public static void main(String args[]) {
/*
    try {
*/
      double d = 1.0;
      String result;
      result = "Double is " +d + " and kicking";
      System.out.println("PASSED: "+result);
/*
    }
    catch (Exception e)
      {
	System.out.println("FAILED: exception " + e.toString());
      }
*/
  }
}