NEG


The NEG function is used to invert the arithmetic value of an expression.

 

COMMAND SYNTAX

NEG(expression)

 

SYNTAX ELEMENTS

expression may evaluate to any numeric value.

 

EXAMPLE

A = 10
B = 12
CRT NEG(A-B)
 

This code displays the value 2.


jBC