Method INumberBase<BigDecimal>.TryConvertToTruncating
INumberBase<BigDecimal>.TryConvertToTruncating<TOther>(BigDecimal, out TOther)
Tries to convert an instance of the the current type to another type, truncating any values that fall outside the representable range of the current type.
Declaration
static bool INumberBase<BigDecimal>.TryConvertToTruncating<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 |