NullableTypes Class Library

NullableSingle.GreaterThan Method 

Compares two instances of NullableSingle structure to determine if the first is greater than the second.

[Visual Basic]
Public Shared Function GreaterThan( _
   ByVal x As NullableSingle, _
   ByVal y As NullableSingle _
) As NullableBoolean
public static NullableBoolean GreaterThan(
   NullableSingle x,
   NullableSingle y


A NullableSingle structure.
A NullableSingle structure.

Return Value

A NullableBoolean structure that is Null if either instance of NullableSingle is Null, True if the first instance is greater than the second instance, otherwise False.


This operator follows IEEE 754 specifications: if either operand is NaN the result is false; negative and positive zero are considered equal; a NegativeInfinity is considered less than all other values; a PositiveInfinity is considered greater than all other values.

See Also

NullableSingle Class | NullableTypes Namespace