IFloatingPoint<TSelf>.Truncate(TSelf) Method

Definition

Truncates a value.

public static virtual TSelf Truncate (TSelf x);

Parameters

x
TSelf

The value to truncate.

Returns

TSelf

The truncation of x.

Applies to

Product Versions
.NET 7, 8, 9