MathF.Max(Single, Single) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne la plus grande de deux nombres à virgule flottante simple précision.
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
Paramètres
- x
- Single
Premier nombre à comparer.
- y
- Single
Deuxième nombre à comparer.
Retours
Plus grand de x et de y