SP Conversion Functions

 NOZDIV()       Prevents divide-by-zero
 NBR2STR()      Correctly orders numerics where negative
 TRUEVAL()      Returns val of ALL numerics in a string
 AT2CHAR()      Returns the String color equivalent of a color attribute

SP_NOZDIV

NOZDIV()

  Short:
  ------
  NOZDIV() Prevents divide-by-zero

  Returns:
  --------
  <nNumber> => division result

  Syntax:
  -------
  NOZDIV(nNumber)

  Description:
  ------------
  Prevents divide-by-zero by converting a number to 1
  if it is zero, otherwise leaving it as-is.

  Not really needed in 5.01, but here for backward
  compatibility.

  Examples:
  ---------
   x = 5
   y = 0

   z = x/NOZDIV(y)

  Source:
  -------
  S_NOZDIV.PRG