Single.Truncate(Single) Método

Definición

Trunca un valor.

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

Parámetros

x
Single

Valor que se va a truncar.

Devoluciones

Truncamiento de x.

Implementaciones

Se aplica a