Method INumberBase<BigDecimal>.TryConvertToSaturating
INumberBase<BigDecimal>.TryConvertToSaturating<TOther>(BigDecimal, out TOther)
Tries to convert an instance of the the current type to another type, saturating any values that fall outside the representable range of the current type.
Declaration
static bool INumberBase<BigDecimal>.TryConvertToSaturating<TOther>(BigDecimal value, out TOther result) where TOther : INumberBase<TOther>
Parameters
Type | Name | Description |
---|---|---|
BigDecimal | value | The value which is used to create the instance of |
TOther | result | When this method returns, contains an instance of |
Returns
Type | Description |
---|---|
bool |
Type Parameters
Name | Description |
---|---|
TOther | The type to which |