Decimal128.IsZero Method (original) (raw)

Decimal128IsZero Method

Returns a value indicating whether the specified number is zero.

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

Syntax

public static bool IsZero( Decimal128 d )

Public Shared Function IsZero ( d As Decimal128 ) As Boolean

static member IsZero : d : Decimal128 -> bool

Parameters

d

Type: MongoDB.BsonDecimal128
A 128-bit decimal.

Return Value

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

See Also

Reference