IMathTNumericMin Method

Returns the smaller of two numbers.

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
TNumeric Min(
	TNumeric val1,
	TNumeric val2
)

Parameters

val1  TNumeric
The first of two numbers to compare.
val2  TNumeric
The second of two numbers to compare.

Return Value

TNumeric
Parameter val1 or val2, whichever is smaller.

Remarks

This method may return NaN or Infinity. If NaN or Infinity cannot be represented by TNumeric, then this method may throw an ArithmeticException.

See Also