Table of Contents

Method ToSingle

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToSingle(Decimal128)

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

public static float ToSingle(Decimal128 d)

Parameters

d Decimal128

The number to convert.

Returns

float

A float equivalent to d.