Exponent Operator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Exponent Operator

Is it possible to calculate exponents with an operator?

30th Dec 2016, 2:57 AM
Rohit Suresh
Rohit Suresh - avatar
2 Answers
+ 3
There is not. howhever, you can use Math.pow()
30th Dec 2016, 3:01 AM
Nahuel
Nahuel - avatar
0
yes.there is "pow()" method in math class that can get the number and its exponents to calculate it. be success.
2nd Jan 2017, 8:11 PM
Amir Hossein Nadimi
Amir Hossein Nadimi - avatar