Method IsPositiveInfinity

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

Namespace

MongoDB.Bson

Assembly

MongoDB.Bson.dll

IsPositiveInfinity(Decimal128)

Returns a value indicating whether the specified number evaluates to positive infinity.

public static bool IsPositiveInfinity(Decimal128 d)

Parameters

d Decimal128

A 128-bit decimal.

Returns

bool

true if d evaluates to positive infinity; otherwise, false.