478
Pi
Returns the number 3.14159265358979, the mathematical constant , accurate to 15
digits.
See also ASin, Cos, Sin, and Tan.
Syntax
Pi()
Examples
<!--- This shows the use of Pi --->
<HTML>
<HEAD>
<TITLE>
Pi Example
</TITLE>
</HEAD>
<BODY>
<H3>Pi Example</H3>
Returns the number
<CFOUTPUT>
#NumberFormat(Pi(), '_._______________')#
</CFOUTPUT>, the
mathematical constant pi, accurate to 15 digits.
</BODY>
</HTML>
CFML Language Reference
Need help?
Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?
Questions and answers