This documentation is archived and is not being maintained.
Single.MaxValue Field
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Represents the largest possible value of Single. This field is constant.
Namespace:
System
Assembly:
mscorlib (in mscorlib.dll)
'Declaration
Public Const MaxValue As Single
The value of this constant is positive 3.402823e38.
The following code example demonstrates the MaxValue constant.
If S > Single.MaxValue Then
outputBlock.Text &= "Your number is larger than a Single." & vbCrLf
End If
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0