Edit

Share via


Double.Pi Field

Definition

Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π.

C#
public const double Pi = 3.1415926535897931;

Field Value

Value = 3.1415926535897931

Remarks

Pi is approximately 3.1415926535897932385.

Applies to

Product Versions
.NET 7, 8, 9