Bewerken

Share via


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

Definition

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

 static System::UInt64 System.Numerics.INumber<System.UInt64>.MaxNumber(System::UInt64 x, System::UInt64 y) = System::Numerics::INumber<System::UInt64>::MaxNumber;
static ulong INumber<ulong>.MaxNumber (ulong x, ulong y);
static member System.Numerics.INumber<System.UInt64>.MaxNumber : uint64 * uint64 -> uint64
 Shared Function MaxNumber (x As ULong, y As ULong) As ULong Implements INumber(Of ULong).MaxNumber

Parameters

x
UInt64

The value to compare with y.

y
UInt64

The value to compare with x.

Returns

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

Implements

Applies to