Decimal.INumber<Decimal>.MaxNumber(Decimal, Decimal) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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は 。