Announcement

Collapse
No announcement yet.

EasyLanguage Sign function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • EasyLanguage Sign function

    Can anyone tell me what the EasyLanguage sign() function does?

    Thanks


    G
    Garth

  • #2
    Returns an integer based on the sign on (Num). 1 is returned for a positive value, -1 is returned for a negative value, and 0 is returned for zero.
    (Num) is a numeric expression to be used in the calculation.

    Examples

    Sign(56.23) returns a value of 1.
    Sign(-9.5687) returns a value of -1.

    {** © 1987, 1999 Omega Research, Inc. **}

    Comment


    • #3
      Thanks David!

      G
      Garth

      Comment

      Working...
      X