MathF.Min(Single, Single) Metod

Definition

Returnerar det mindre av två flyttal med enkel precision.

public:
 static float Min(float x, float y);
public static float Min(float x, float y);
static member Min : single * single -> single
Public Shared Function Min (x As Single, y As Single) As Single

Parametrar

x
Single

Det första talet att jämföra.

y
Single

Det andra talet att jämföra.

Returer

Den mindre av x och y

Gäller för