Hello! I was wondering what the best practice for defining the number [italic]e[/italic] (used in mathematics, for example, in growth and decay functions) would be in Java. Is it defined in any particular class or do you have to approximate it in a constant? Thanks very much for any help!
Comments
public static final double E = 2.718281828459045d;
public static final double E = 2.718281828459045d;