- Operator ("M" Reference)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

The - operator can function as either a unary or a binary operator.

Operator Description

The unary - operator is predefined for the Number type and all its subtypes. The result of a unary - operation on a numeric type is the numeric negation of the operand.

The binary - operator is predefined for the Number type and all its subtypes. The - operator subtracts the second operand from the first.