Method Min
Min(Int32, Int32)
Returns the smaller of the 2 values
Declaration
public static int Min(int a, int b)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | a | Value a |
System.Int32 | b | Value b |
Returns
Type | Description |
---|---|
System.Int32 | The smaller value |
Min(Single, Single)
Returns the smaller of the 2 values
Declaration
public static float Min(float a, float b)
Parameters
Type | Name | Description |
---|---|---|
System.Single | a | Value a |
System.Single | b | Value b |
Returns
Type | Description |
---|---|
System.Single | The smaller value |
Min(Single[])
Returns the smallest value in the set
Declaration
public static float Min(params float[] values)
Parameters
Type | Name | Description |
---|---|---|
System.Single[] | values |
Returns
Type | Description |
---|---|
System.Single | The smallest value in the set |