語言

IFloatingPoint<TSelf>.Truncate(TSelf) 方法

定義

截斷一個數值。

public:
 static override TSelf Truncate(TSelf x);
public static virtual TSelf Truncate(TSelf x);
static member Truncate : 'Self -> 'Self
Public Shared Overrides Function Truncate (x As TSelf) As TSelf

參數

x
TSelf

要截斷的價值。

傳回

TSelf

的 x截斷。

適用於