Convert..::..ToDecimal Method
Overload List
Name | Description | |
---|---|---|
![]() ![]() |
ToDecimal(Object) |
Converts the value of the specified object to an equivalent decimal number.
Note: Calling this method for [DateTime] value always throws InvalidCastException.
|
![]() ![]() |
ToDecimal(Object, IFormatProvider) |
Converts the value of the specified object to an equivalent decimal number, using the specified culture-specific formatting information.
Note: Calling this method for [DateTime] value always throws InvalidCastException.
|