3 May 2007 at 10:16 #1 Stellios Stellios Soldato Joined 27 Aug 2004 Posts 17,122 Location Geordieland I need to multiply by the power of 1^2, 2^2, 3^3 etc etc Im crap at maths, is it possible for anyone to tell me how to code this in java pretty please? Cheers
I need to multiply by the power of 1^2, 2^2, 3^3 etc etc Im crap at maths, is it possible for anyone to tell me how to code this in java pretty please? Cheers
3 May 2007 at 10:32 #2 Stellios Stellios Soldato OP Joined 27 Aug 2004 Posts 17,122 Location Geordieland Hmmm, think ive jsut found a solution. Quick Q, is 2*=2 the equivalent of 2^2? Ive just tried it and it works.
Hmmm, think ive jsut found a solution. Quick Q, is 2*=2 the equivalent of 2^2? Ive just tried it and it works.
3 May 2007 at 10:44 #5 Stellios Stellios Soldato OP Joined 27 Aug 2004 Posts 17,122 Location Geordieland Ahhhhhhhhhh, thanks a lot for that mate. Wasnt sure what it done, now all is clear
3 May 2007 at 12:22 #8 Stellios Stellios Soldato OP Joined 27 Aug 2004 Posts 17,122 Location Geordieland Dj_Jestar said: Math.pow(double a, double b) Click to expand... Bam, spot on what im after Thanks a lot mate
Dj_Jestar said: Math.pow(double a, double b) Click to expand... Bam, spot on what im after Thanks a lot mate