Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Single::MinValue Field

 

Represents the smallest possible value of Single. This field is constant.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public:
literal float MinValue

Field Value

Type: System::Single

The value of this constant is negative 3.402823e38.

The result of an operation that is less than Single::MinValue is Single::NegativeInfinity. In the following example, Single::NegativeInfinity results from subtraction and multiplication operations when the result is less than Single::MinValue.

No code example is currently available or this language may not be supported.

The following code example demonstrates the MinValue constant.

if ( s < Single::MinValue )
{
   Console::WriteLine( "Your number is smaller than a Single." );
}

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: