Data.FmtBcd.BcdCompare
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Data.FmtBcd.pas Data.FMTBcd.hpp
| |
Unit: Data.FmtBcd | |
Parent: Data.FmtBcd |
Delphi
function BcdCompare(const bcd1, bcd2: TBcd): Integer;
C++
extern DELPHI_PACKAGE int __fastcall BcdCompare(const TBcd &bcd1, const TBcd &bcd2);
Description
Compares two TBcd values.
Call BcdCompare to compare two TBcd values. The return value is indicated in the following table:
Return value | Condition |
---|---|
-1 |
bcd1< bcd2 |
0 |
bcd1= bcd2 |
1 |
bcd1 > bcd2 |