NullableTypes Class Library

NullableDouble.GreaterThan Method 

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

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


A NullableDouble structure.
A NullableDouble structure.

Return Value

A NullableBoolean structure that is Null if either instance of NullableDouble 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

NullableDouble Class | NullableTypes Namespace