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