Decimal128.ToSingle Method (original) (raw)
Decimal128ToSingle Method
Converts the value of the specified Decimal128 to the equivalent Single.
Namespace: MongoDB.Bson
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public static float ToSingle( Decimal128 d )
Public Shared Function ToSingle ( d As Decimal128 ) As Single
static member ToSingle : d : Decimal128 -> float32
Parameters
d
Type: MongoDB.BsonDecimal128
The number to convert.
Return Value
Type: Single
A Single equivalent to d.
See Also