Min()
Contents
[
Hide
]Math::Min(T0, T1) method
Returns the smallest value out of two numeric ones specified.
template<class T0,class T1,class> static auto System::Math::Min(T0 val1, T1 val2) -> decltype(val1+val2)
Template parameters
| Parameter | Description |
|---|---|
| T0 | Type of first value. |
| T1 | Type of second value. |
Arguments
| Parameter | Type | Description |
|---|---|---|
| val1 | T0 | First value. |
| val2 | T1 | Second value. |
Return Value
Smallest value out of val1 and val2.
Math::Min(T0, T1) method
Returns the smallest value out of two numeric ones specified.
template<class T0,class T1,class> static T0 System::Math::Min(T0 val1, T1 val2)
Template parameters
| Parameter | Description |
|---|---|
| T0 | Type of first value. |
| T1 | Type of second value. |
Arguments
| Parameter | Type | Description |
|---|---|---|
| val1 | T0 | First value. |
| val2 | T1 | Second value. |
Return Value
Smallest value out of val1 and val2.
See Also
- Struct Math
- Namespace System
- Library Aspose.Slides