theEclipse
Programmer
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>
<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>