Returns the smaller of two decimal numbers.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static decimal Min(
decimal value1,
decimal value2
)
Public Shared Function Min (
value1 As Decimal,
value2 As Decimal
) As Decimal
public:
static Decimal Min(
Decimal value1,
Decimal value2
)
static member Min :
value1 : decimal *
value2 : decimal -> decimal
Parameters
- value1
- Type: SystemDecimal
The first of two decimal numbers to compare.
- value2
- Type: SystemDecimal
The second of two decimal numbers to compare.
Return Value
Type:
Decimal
Parameter value1 or value2, whichever is smaller.
Reference