Pi

Description

Returns the number 3.14159265358979, the mathematical constant π, accurate to 15 digits.

Category

Mathematical functions

Syntax

Pi() 

See also

ASin, Cos, Sin, Tan

Example

<!--- 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>