Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying Pi to the farthest decimal place.

Status
Not open for further replies.

theEclipse

Programmer
Dec 27, 1999
1,190
US
I am working on a javascript calculator, as a side-project, and cant figure out how to display Pi in the field. Is there a pre-defined Math function?<br>
<br>
tried:<br>
Math.pi()<br>
Math.Pi()<br>
<br>
I would use 22/7, but that is only acurate to 3.14.<br>
<br>
do I have to type it in mannually? <p>theEclipse<br><a href=mailto: > </a><br><a href=robacarp.webjump.com>robacarp.webjump.com</a><br>
 
ooooooooohhhh, thanks <p>theEclipse<br><a href=mailto: > </a><br><a href=robacarp.webjump.com>robacarp.webjump.com</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top