Edit

Share via


UInt32.INumber<UInt32>.MaxNumber(UInt32, UInt32) Method

Definition

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

 static System::UInt32 System.Numerics.INumber<System.UInt32>.MaxNumber(System::UInt32 x, System::UInt32 y) = System::Numerics::INumber<System::UInt32>::MaxNumber;
static uint INumber<uint>.MaxNumber (uint x, uint y);
static member System.Numerics.INumber<System.UInt32>.MaxNumber : uint32 * uint32 -> uint32
 Shared Function MaxNumber (x As UInteger, y As UInteger) As UInteger Implements INumber(Of UInteger).MaxNumber

Parameters

x
UInt32

The value to compare with y.

y
UInt32

The value to compare with x.

Returns

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

Implements

Applies to