File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Math.sqrt ?

 
Adam Polak
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could someone tell me what the sqrt methode from the Math library is for?
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
static double sqrt(double a)
Returns the correctly rounded positive square root of a double value. API for Math class
 
Adam Polak
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please explain more easily?
 
Jack Coleman
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you know what a square root is?
If not, here is a definition:
A divisor of a quantity that when squared gives the quantity. For example, the square roots of 25 are 5 and -5 because 5 � 5 = 25 and (-5) � (-5) = 25.
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

You can substitute a different number for 25.0 to see the square root of another number. The square root of 9 is 3. The square root of 100 is 10.
 
Robbie shi
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Static double sqrt(double)
output the square root
---
Robbies
-----------------------------
1.java IDE tool : JawaBeginer
2.Java Jar tool : JavaJar
http://www.pivotonic.com
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic