Library /sys$common/syshlp/basichelp.hlb
SGN

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  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) :

  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.