Click or drag to resize
MathUtilsMinT Method (T, T)
Returns the minimum value of the two passed values.

Namespace: Slash.Math.Utils
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static T Min<T>(
	T a,
	T b
)
where T : Object, IComparable<T>

Parameters

a
Type: T
First value.
b
Type: T
Second value.

Type Parameters

T
Type of the values to compare.

Return Value

Type: T
First value if it is smaller than the second; otherwise, the second value.
See Also