Edit

Share via


Single.E 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 natural logarithmic base, specified by the constant, e.

C#
public const float E = 2.71828175;

Field Value

Value = 2.71828175

Remarks

This is known as Euler's number and is approximately 2.7182818284590452354.

Applies to

Product Versions
.NET 7, 8, 9, 10