Single.Truncate(Single) 方法

定义

截断值。

public:
 static float Truncate(float x) = System::Numerics::IFloatingPoint<float>::Truncate;
public static float Truncate (float x);
static member Truncate : single -> single
Public Shared Function Truncate (x As Single) As Single

参数

x
Single

要截断的值。

返回

的截断 x

实现

适用于