Single.MinValue Field

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

Syntax

Public Const MinValue As Single
public const float MinValue

Remarks

The value of this constant is negative 3.402823e38.

Examples

The following code example demonstrates the MinValue constant.

If S < Single.MinValue Then
   outputBlock.Text &= "Your number is smaller than a Single." & vbCrLf
End If
if (s < Single.MinValue)
{
   outputBlock.Text += "Your number is smaller than a Single." + "\n";
}

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Single Structure

System Namespace

MaxValue