Decimal128.GetExponent Method (original) (raw)

MongoDB .NET Driver API Documentation

Click or drag to resizeClick or drag to resize

Decimal128GetExponent Method

Gets the exponent of a Decimal128 value.

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

Syntax

public static short GetExponent( Decimal128 d )

Public Shared Function GetExponent ( d As Decimal128 ) As Short

static member GetExponent : d : Decimal128 -> int16

Parameters

d

Type: MongoDB.BsonDecimal128
The Decimal128 value.

Return Value

Type: Int16
The exponent.

See Also

Reference