Single.Floor(Single) Method

Definition

Computes the floor of a value.

public:
 static float Floor(float x) = System::Numerics::IFloatingPoint<float>::Floor;
public static float Floor (float x);
static member Floor : single -> single
Public Shared Function Floor (x As Single) As Single

Parameters

x
Single

The value whose floor is to be computed.

Returns

The floor of x.

Implements

Applies to