System.Math.TValueSign

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

Delphi

type TValueSign = -1..1;

C++

typedef System::Int8 TValueSign;

プロパティ

種類 可視性 ソース ユニット
type
typedef
public
System.Math.pas
System.Math.hpp
System.Math System.Math

説明

TValueSignSign の戻り値を定義します。

Sign ルーチンは、数値が負、ゼロ、正のどれであるかを判定します。判定結果は、以下のような TValueSign 値で返されます。



関連付けられている定数 意味

-1

NegativeValue

負の数。

0

ZeroValue

ゼロ。

+1

PositiveValue

正の数。

関連項目