< Day Day Up > |
Sign()Category: Number Syntax: Sign ( number ) Parameters: number ”any expression that resolves to a numeric value. Description: Returns a value that represents the sign of number : -1 when number is negative when number is zero 1 when number is positive Examples: Sign (0) Returns . Sign (100) Returns 1 . Sign( -100) Returns -1 for the formula If (Sign (BalanceDue) = -1 ; "Please pay now!" ; "Thanks for your payment!") . Comments: For any x other than 0, multiplying x by Sign(x) yields the Abs(x) . |
< Day Day Up > |