The Artima Developer Community
Sponsored Link

Java Answers Forum
"exponent in java"

3 replies on 1 page. Most recent reply: Jul 15, 2002 2:39 PM by Guido

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
Magnus

Posts: 2
Nickname: magjosef
Registered: Jul, 2002

"exponent in java" Posted: Jul 15, 2002 8:35 AM
Reply to this message Reply
Advertisement
do you know type exponents i java?

/magjosef


Guido

Posts: 38
Nickname: kiethb
Registered: May, 2002

Re: "exponent in java" Posted: Jul 15, 2002 1:58 PM
Reply to this message Reply
there is no exponentiation character to use so you must use the method Math.pow(x,y); where x is raised to the power of y.

Magnus

Posts: 2
Nickname: magjosef
Registered: Jul, 2002

Re: "exponent in java" Posted: Jul 15, 2002 2:32 PM
Reply to this message Reply
and you have to import library:
java.lang.Math;

Guido

Posts: 38
Nickname: kiethb
Registered: May, 2002

Re: "exponent in java" Posted: Jul 15, 2002 2:39 PM
Reply to this message Reply
I apologise, my response implied that rather than explicitly stating.

Flat View: This topic has 3 replies on 1 page
Topic: Data type mismatch in criteria expression? Previous Topic   Next Topic Topic: generate awt event

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use