Table of Contents

Method ToDouble

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToDouble(Decimal128)

Converts the value of the specified Decimal128 to the equivalent double.

public static double ToDouble(Decimal128 d)

Parameters

d Decimal128

The number to convert.

Returns

double

A double equivalent to d.