MyClass.java
 

public class MyClass {
  public static void main(String[] args) {
    double myNum = 19.99d;
    System.out.println(myNum);  
  }
}

Result:
19.99