Decimal128.Negate Method (original) (raw)

MongoDB .NET Driver API Documentation

Click or drag to resizeClick or drag to resize

Decimal128Negate Method

Negates the specified x.

Namespace: MongoDB.Bson
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

public static Decimal128 Negate( Decimal128 x )

Public Shared Function Negate ( x As Decimal128 ) As Decimal128

static member Negate : x : Decimal128 -> Decimal128

Parameters

x

Type: MongoDB.BsonDecimal128
The x.

Return Value

Type: Decimal128
The result of multiplying the value by negative one.

See Also

Reference