Returns the smaller of two Decimal values.
[Visual Basic] Public Shared Function Min( _ ByVal d1 As Decimal, _ ByVal d2 As Decimal _ ) As Decimal [C#] public static Decimal Min( Decimal d1, Decimal d2 ); [C++] public: static Decimal Min( Decimal d1, Decimal d2 ); [JScript] public static function Min( d1 : Decimal, d2 : Decimal ) : Decimal;
The smaller of the two Decimal arguments.
The Min method compares two Decimal values and returns the smaller of the two arguments by using the following:
Compare(d1, d2) < 0? d1: d2;