Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


Single.Pi Field

Definition

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

C#
public const float Pi = 3.14159274;

Field Value

Value = 3.14159274

Remarks

Pi is approximately 3.1415926535897932385.

Applies to

Termék Verziók
.NET 7, 8, 9, 10