RepresentationConverterToInt32 Method (Single) |
Converts a Single to an Int32.
Namespace:
MongoDB.Bson.Serialization.Options
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public int ToInt32(
float value
)
Public Function ToInt32 (
value As Single
) As Integer
member ToInt32 :
value : float32 -> int
Parameters
- value
- Type: SystemSingle
A Single.
Return Value
Type:
Int32An Int32.
See Also