pie in java


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: pie in java

  1. #1
    Join Date
    Nov 2006
    Posts
    4

    pie in java

    hello
    does anyone knows how to defind the number pie(3.14) in java.

    i need to calculate a circle plot (pie*radius*radius)

    thanks for your help.

  2. #2
    Join Date
    May 2005
    Location
    Ontario, Canada
    Posts
    173

  3. #3
    Join Date
    Nov 2006
    Posts
    4

    thanks

    thanks

  4. #4
    Join Date
    Dec 2004
    Location
    San Bernardino County, California
    Posts
    1,468
    Math.pi ... it is a static field of the java.lang.Math class

Similar Threads

  1. Java book
    By Lou in forum Java
    Replies: 9
    Last Post: 09-19-2007, 05:58 AM
  2. Replies: 2
    Last Post: 06-14-2006, 03:16 PM
  3. Java vs. .Net. A questionnaire
    By Basil in forum .NET
    Replies: 1
    Last Post: 05-13-2005, 06:46 AM
  4. Re: VB vs. Visual Age for Java
    By JJ in forum Enterprise
    Replies: 1
    Last Post: 07-06-2000, 04:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center