Double.Truncate(Double) Method

Definition

Truncates a value.

public static double Truncate (double x);

Parameters

x
Double

The value to truncate.

Returns

The truncation of x.

Implements

Applies to

Produkt Verze
.NET 7, 8, 9