RepresentationConverterToInt32 Method (Single) |
Converts a Single to an Int32.
Namespace: MongoDB.Bson.Serialization.OptionsAssembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.4.1
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