I'll make a calculator that needs boosting, can someone tell me how it's done on android?
I'll make a calculator that needs boosting, can someone tell me how it's done on android?
You can use the static method pow(dobule val1, double val2)
of class Math
:
System.out.println(Math.pow(2.0, 3.0)); //2 elevado a 3
Output:
8.0