Bewerken

Delen via


UInt32.INumberBase<UInt32>.MaxMagnitude(UInt32, UInt32) Method

Definition

Compares two values to compute which is greater.

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

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