Decimal.INumber<Decimal>.MaxNumber(Decimal, Decimal) メソッド

定義

2 つの値を比較して、より大きいを計算し、入力が の場合は NaNもう一方の値を返します。

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

パラメーター

x
Decimal

y比較する値。

y
Decimal

x比較する値。

戻り値

x より大きい y場合は 。それ以外の場合 yは 。

実装

適用対象