MathF.PI Field

Definition

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

C#
public const float PI = 3.14159274;

Field Value

Value = 3.14159274

Remarks

The value of this field is 3.14159274.

Applies to

Ürün Sürümler
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1