[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'math' (#rtl) |
Return sign of argument
Source position: line 0
function Sign( |
const AValue: Integer |
):TValueSign; |
const AValue: Int64 |
):TValueSign; |
const AValue: Double |
):TValueSign; |
const AValue: Extended |
):TValueSign; |
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.
No notes exist for this page yet.