Table of Contents

Method IsInfinity

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

IsInfinity(Decimal128)

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

public static bool IsInfinity(Decimal128 d)

Parameters

d Decimal128

A 128-bit decimal.

Returns

bool

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