CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

1. Junior Member
Join Date
Aug 2020
Posts
4

## Exponents in Java

I am beginner, And before 1 month I dont even know the J of java, But during the lockdown, I have started learning java online actually I am to do exponents in java, I had faced a lot of issues to do that but finally after reading a lot of guides I have done this task. Can you guys suggest what should I have to learn to get a full grip on java.

2. Elite Member
Join Date
Jun 1999
Location
Eastern Florida
Posts
3,875

## Re: Exponents in Java

Can you explain what you mean by exponents in java?
Are you talking about math expressions?

3. Junior Member
Join Date
Aug 2020
Posts
4

## Re: Exponents in Java

Yeah sure i am talking about these exponents in java.

4. Junior Member
Join Date
Aug 2020
Posts
4

## Re: Exponents in Java

Originally Posted by markophillips
Yeah sure i am talking about these exponents in java.
https://www.reviewsed.com/how-to-do-exponents-in-java/

5. Elite Member
Join Date
Jun 1999
Location
Eastern Florida
Posts
3,875

## Re: Exponents in Java

I've programmed in java for years and have never had to work with exponents.
What specific questions or problems do you have?

6. Junior Member
Join Date
Aug 2020
Posts
4

## Re: Exponents in Java

Can you guide me?

7. Elite Member
Join Date
Jun 1999
Location
Eastern Florida
Posts
3,875

## Re: Exponents in Java

Can you ask a specific question about the problem you are trying to solve using java?

Do you have any questions about what was on the web page you posted a link to in post#4?

8. Junior Member
Join Date
Oct 2021
Posts
2

## Re: Exponents in Java

There are two ways in which you can use exponents in Java. The first one is by using the Math.pow() method which multiplies a number raised to an exponent with another number raised to the same exponent. The second one is by using the Math.exp() method which raises a number raised to an exponent power with itself and then returns the result of that calculation as a double value.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•