RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
FMTBcd.BcdCompare Function

Compares two TBcd values.

Pascal
function BcdCompare(const bcd1: TBcd; const bcd2: TBcd): Integer;
C++
int BcdCompare(const TBcd bcd1, const TBcd bcd2);

FMTBcd

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  

 

CompareValue

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!