JsonConvertToDecimal Method |
Converts a string to a Decimal.
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax public static decimal ToDecimal(
string value
)
Public Shared Function ToDecimal (
value As String
) As Decimal
static member ToDecimal :
value : string -> decimal
Parameters
- value
- Type: SystemString
The value.
Return Value
Type:
DecimalA Decimal.
See Also