Mega Code Archive

 
Categories / Java / Development Class
 

Using strict math in applications

public class strictE {   public static void main(String[] args) {     // Calculate E^2     double e2 = StrictMath.E * StrictMath.E;     System.out.println(e2);   } }