Sorry to everyone, I figured this out just after I posted, But i do still have another question,
For a certain operation I am required to use log's in determining a variable for example
Var3=log(Var1/Var2)/log(8)
but java doesnt seem to accept log.
What is the appropriate way to use logarithm?
And also while im asking :P, what is the symbol for 'to the power of'?
I tried using Var1=Var2^Var3 and it says operator "^" cannot be applied to float,int?
how do I correct this?