共用方式為


NFloat.Truncate(NFloat) 方法

定義

截斷值。

public:
 static System::Runtime::InteropServices::NFloat Truncate(System::Runtime::InteropServices::NFloat x) = System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>::Truncate;
public static System.Runtime.InteropServices.NFloat Truncate (System.Runtime.InteropServices.NFloat x);
static member Truncate : System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function Truncate (x As NFloat) As NFloat

參數

x
NFloat

要截斷的值。

傳回

x截斷。

實作

適用於