Table of Contents

Method IsZero

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

IsZero(Decimal128)

Returns a value indicating whether the specified number is zero.

public static bool IsZero(Decimal128 d)

Parameters

d Decimal128

A 128-bit decimal.

Returns

bool

true if the specified number is zero; otherwise, false.