- - Operator (Sign)

Concerns

This operator converts the expression to the right of the operator into a numeric type and multiplies it by -1.

Example

Dim V1 As Long, V2 As Long

V1 := 10

V2 := -V1

Result:

V2 contains the value -10