Java Data Type Tutorial - Java StrictMath E








Syntax

StrictMath.E has the following syntax.

public static final double E

Example

In the following code shows how to use StrictMath.E field.


public class Main {

   public static void main(String[] args) {
      System.out.println("StrictMath.E:" + StrictMath.E);

   }
}

The code above generates the following result.