Bewerken

Delen via


Double.Truncate(Double) Method

Definition

Truncates a value.

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

Parameters

x
Double

The value to truncate.

Returns

The truncation of x.

Implements

Applies to