Thread: math methods?

    #1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Posts
    254
    Rep Power
    13

    Question math methods?


    How do you get a square root of a number?
    num = sqrt(num) ?

    Thanks for any help.
    Thank you for any help.
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2002
    Posts
    15
    Rep Power
    0
    System.out.println( java.lang.Math.sqrt(9) );

    Prints: 3.0


IMN logo majestic logo threadwatch logo seochat tools logo