Unary operator

Negates a variable value.

Syntax

-variable

Example

-Daily_budget
returns the negative value of the daily budget.

Was this helpful?
How can we improve it?