RepresentationConverterToInt32 Method (Single) |
Converts a Single to an Int32.
Namespace:
MongoDB.Bson.Serialization.Options
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
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