Data.FmtBcd.BcdCompare

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function BcdCompare(const bcd1, bcd2: TBcd): Integer;

C++

extern DELPHI_PACKAGE int __fastcall BcdCompare(const TBcd &bcd1, const TBcd &bcd2);

プロパティ

種類 可視性 ソース ユニット
function public
Data.FmtBcd.pas
Data.FMTBcd.hpp
Data.FmtBcd Data.FmtBcd

説明

2 つの TBcd 値を比較します。

BcdCompare を呼び出すと、2 つの TBcd 値を比較することができます。戻り値を次の表に示します。



戻り値 条件

-1

bcd1 < bcd2

0

bcd1 = bcd2

1

bcd1 > bcd2



関連項目