Dibaca dalam bahasa Inggeris Edit

Kongsi melalui


MathF.Max(Single, Single) Method

Definition

Returns the larger of two single-precision floating-point numbers.

public static float Max (float x, float y);

Parameters

x
Single

The first number to compare.

y
Single

The second number to compare.

Returns

The larger of x and y

Applies to

Produk Versi
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.0 (package-provided), 2.1