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

実装

適用対象