| [Overview][Constants][Types][Classes][Procedures and functions][Index] | 
Return sign of argument
Source position: math.pp line 238
function Sign(  | 
const AValue: Integer  | 
):TValueSign; overload;  | 
const AValue: Int64  | 
):TValueSign; overload;  | 
const AValue: Single  | 
):TValueSign; overload;  | 
const AValue: Double  | 
):TValueSign; overload;  | 
const AValue: Extended  | 
):TValueSign; overload;  | 
Sign returns the sign of it's argument, which can be an Integer, 64 bit integer, or a double. The returned value is an integer which is -1, 0 or 1, and can be used to do further calculations with.