Runtime.UncheckedDecimalToInt64(Decimal) 方法

定义

将指定的 Decimal 值转换为 Int64Converts the specified Decimal value to an Int64.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 static long UncheckedDecimalToInt64(System::Decimal val);
public static long UncheckedDecimalToInt64 (decimal val);
static member UncheckedDecimalToInt64 : decimal -> int64
Public Shared Function UncheckedDecimalToInt64 (val As Decimal) As Long

参数

val
Decimal

要转换的值。The value to convert.

返回

Int64

转换为 Int64valval converted to an Int64.

适用于

另请参阅