NullableTypes Class Library

NullableSingle.LessThan Method 

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

[Visual Basic]
Public Shared Function LessThan( _
   ByVal x As NullableSingle, _
   ByVal y As NullableSingle _
) As NullableBoolean
public static NullableBoolean LessThan(
   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 less 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