Bewerken

Share via


Char.INumberBase<Char>.MaxMagnitudeNumber(Char, Char) Method

Definition

Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.

 static char System.Numerics.INumberBase<System.Char>.MaxMagnitudeNumber(char x, char y) = System::Numerics::INumberBase<char>::MaxMagnitudeNumber;
static char INumberBase<char>.MaxMagnitudeNumber (char x, char y);
static member System.Numerics.INumberBase<System.Char>.MaxMagnitudeNumber : char * char -> char
 Shared Function MaxMagnitudeNumber (x As Char, y As Char) As Char Implements INumberBase(Of Char).MaxMagnitudeNumber

Parameters

x
Char

The value to compare with y.

y
Char

The value to compare with x.

Returns

x if it is greater than y; otherwise, y.

Implements

Applies to