Method INumberBase<BigDecimal>.TryConvertFromChecked
INumberBase<BigDecimal>.TryConvertFromChecked<TOther>(TOther, out BigDecimal)
Tries to convert a value to an instance of the the current type, throwing an overflow exception for any values that fall outside the representable range of the current type.
Declaration
static bool INumberBase<BigDecimal>.TryConvertFromChecked<TOther>(TOther value, out BigDecimal result) where TOther : INumberBase<TOther>
Parameters
Type | Name | Description |
---|---|---|
TOther | value | The value that's used to create the instance of BigDecimal. |
BigDecimal | result | When this method returns, contains an instance of BigDecimal converted from |
Returns
Type | Description |
---|---|
bool |
Type Parameters
Name | Description |
---|---|
TOther | The type of |
Implements
Exceptions
Type | Condition |
---|---|
OverflowException |
|