Decimal.INumberBase<Decimal>.TryConvertFromTruncating<TOther> 方法

定义

C#
static bool INumberBase<decimal>.TryConvertFromTruncating<TOther>(TOther value, out decimal result) where TOther : System.Numerics.INumberBase<TOther>;

类型参数

TOther

参数

value
TOther
result
Decimal

返回

适用于

产品 版本
.NET 7, 8, 9, 10