Skip to main content

MinusUnaryOperator

Type​

operator

Summary​

Unary minus operator.

Syntax​

- <Operand>

Description​

Unary minus operator.

Parameters​

NameTypeDescription

Operand

An expression that evaluates to a number.

Examples​

variable tVar as Number
put -(5 + 4) into tVar -- tVar contains -9

Value​

NameTypeDescription

return

The negated result of evaluating Operand.

Thank you for your feedback!

Was this page helpful?