Method IsNegative

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson

Assembly

MongoDB.Bson.dll

IsNegative(Decimal128)

Returns a value indicating whether the specified number is negative.

public static bool IsNegative(Decimal128 d)

Parameters

d Decimal128

A 128-bit decimal.

Returns

bool

true if d is negative; otherwise, false.