Decimal128 Conversion (Decimal128 to Single) |
Namespace:
MongoDB.Bson
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax public static explicit operator float (
Decimal128 value
)
Public Shared Narrowing Operator CType (
value As Decimal128
) As Single
F# does not support the declaration of new casting operators.
Parameters
- value
- Type: MongoDB.BsonDecimal128
The value to convert.
Return Value
Type:
Single
The result of the conversion.
See Also