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

实现

适用于