Single.Pi Field
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, π.
public: float Pi = 3.14159274;
C#
public const float Pi = 3.14159274;
val mutable Pi : single
Public Const Pi As Single = 3.14159274
Value = 3.14159274
Pi is approximately 3.1415926535897932385.
Продукт | Версії |
---|---|
.NET | 7, 8, 9, 10 |
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: