The pow() method is represented by the following syntax:
Base - The base number.
Exponent - The number used to raise the base.
The value of base to the power of exponent.
Here, we will understand pow() method through various examples.
Let's see a simple example to print the power of given number.Test it Now
Let's see an example to understand the pow() method with different test cases.Test it Now
0.125 9 NaN 0.1050611121761507
Let's understand the pow() method with your own test cases.Test it Now
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected]
Duration: 1 week to 2 week