英語で読む 編集

次の方法で共有


MathF.PI Field

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

製品 バージョン
.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