System.Math.TValueSign
Delphi
type TValueSign = -1..1;
C++
typedef System::Int8 TValueSign;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
TValueSign defines the Sign returned value.
The Sign routine determines whether a number is negative, zero or positive. It returns the result in a TValueSign value as follows :
Value | Associated constant | Meaning |
---|---|---|
-1 |
NegativeValue |
Negative number. |
0 |
ZeroValue |
Zero. |
+1 |
PositiveValue |
Positive number. |