[]
        
(Showing Draft Content)

GrapeCity.Enterprise.Data.Expressions.Evaluation.Variant.op_UnaryNegation

operator - Operator

operator -(Variant)

Negates the given numerical variant.

Declaration
public static Variant operator -(Variant a)
Parameters
Type Name Description
Variant a

The variant to be negated.

Returns
Type Description
Variant

The negated variant or Error if argument cannot be converted to the numeric type.