Data.DBXCommon.TDBXDoubleValue.Compare
Delphi
function Compare(Other: TDBXValue): Smallint; override;
C++
virtual short __fastcall Compare(TDBXValue* Other);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DBXCommon.pas Data.DBXCommon.hpp |
Data.DBXCommon | TDBXDoubleValue |
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.