You are not logged in.

  • Login

1

Thursday, February 1st 2007, 4:53pm

Java Exponent

Hallo,

wie kann ich etwas bei einer mathematischen rechung in den exponenten setzen??
(also ungefähr so : 5^2=25 usw..)

danke

philipp

2

Thursday, February 1st 2007, 5:13pm

Da java.lang.Math immer importiert sein sollte brauchst du pow() nur aufzurufen

Quoted

static double pow(double a, double b)
Returns the value of the first argument raised to the power of the second argument.


https://java.sun.com/j2se/1.5.0/docs/api/java/lang/Math.html
http://www.coder-suche.de/search.jsp?query=java+pow

3

Thursday, February 1st 2007, 8:21pm

DAAAAAANGÖ

Social bookmarks