Computes the sign function for the number.
If obj is of type TSystem then applies this method recursively to all elements of the system.
For a scalar value, the sign function is defined as follows.
-1 | Value is negative. |
0 | Value is zero. |
1 | Value is positive. |
public TNumber Sign()
Public Function Sign As TNumber
public:
TNumber^ Sign()
member Sign : unit -> TNumber
GeneralException | Thrown if Type of obj is neither scalar nor TSystem. |