Method INumberBase<BigDecimal>.TryConvertFromSaturating
INumberBase<BigDecimal>.TryConvertFromSaturating<TOther>(TOther, out BigDecimal)
Tries to convert a value to an instance of the the current type, saturating any values that fall outside the representable range of the current type.
Declaration
static bool INumberBase<BigDecimal>.TryConvertFromSaturating<TOther>(TOther value, out BigDecimal result) where TOther : INumberBase<TOther>
Parameters
Type | Name | Description |
---|---|---|
TOther | value | The value which is 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 |