Data.DBXCommon.TDBXDoubleValue.Compare
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Data.DBXCommon.pas Data.DBXCommon.hpp
| |
Unit: Data.DBXCommon | |
Parent: TDBXDoubleValue |
Delphi
function Compare(Other: TDBXValue): Smallint; override;
C++
virtual short __fastcall Compare(TDBXValue* Other);
Description
Compares the TDBXDoubleValue with another TDBXDoubleValue given by a parameter.
Compare compares the current TDBXDoubleValue with the Other
parameter. Compare returns -1 if the current TDBXDoubleValue is smaller than Other
, 1 if the current TDBXDoubleValue is greater than Other
, and 0 if they are equal.