Edit

Share via


Double.Floor(Double) Method

Definition

Computes the floor of a value.

C#
public static double Floor(double x);

Parameters

x
Double

The value whose floor is to be computed.

Returns

The floor of x.

Implements

Applies to

Product Versions
.NET 7, 8, 9