NEG function

Syntax

NEG (number)

Description

Use the NEG function to return the arithmetic inverse of the value of the argument.

number is an expression evaluating to a number.

Example

In the following example, A is assigned the value of 10, and B is assigned the value of NEG(A), which evaluates to -10:

A = 10
B = NEG(A)