IFloatingPoint<TSelf>.Floor(TSelf) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Computes the floor of a value.

C#
public static virtual TSelf Floor(TSelf x);

Parameters

x
TSelf

The value whose floor is to be computed.

Returns

TSelf

The floor of x.

Applies to

Product Versions
.NET 7, 8, 9, 10