MathF.Max(Single, Single) 메서드

정의

두 개의 단정밀도 부동 소수점 숫자 중 더 큰 숫자를 반환합니다.

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

매개 변수

x
Single

비교할 첫 번째 숫자입니다.

y
Single

비교할 두 번째 숫자입니다.

반환

더 큰 xy

적용 대상