Library /sys$common/syshlp/DTRHELP.HLB  —  Functions  FN$SIGN
       Indicates the sign of a number.

1  –  Input

       A signed number.

2  –  Output

       1, -1, or 0 (depending on the sign of the number).

3  –  Example

       DTR> PRINT FN$SIGN (-4)

         FN$SIGN

                 -1

       DTR>
Close Help