Library /sys$common/syshlp/BASICHELP.HLB  —  SGN
  The SGN function determines whether  a  numeric  expression  is  positive,
  negative,  or  zero.   It  returns  a one if the expression is positive, a
  minus one if the expression is negative, and zero  if  the  expression  is
  zero.

  Example

  Sign% = SGN(-45 * 35 / 6 - 3000)
Additional Information: explode extract
Syntax
Close Help