MathF.Min(Single, Single) メソッド

定義

2 つの単精度浮動小数点数の小さい方を返します。

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

パラメーター

x
Single

比較する最初の数値。

y
Single

比較する 2 番目の数値。

戻り値

xy の小さい方

適用対象