Max()
Contents
[
Hide
]Math::Max(T0, T1) method
Returns the greatest value out of two numeric ones specified.
template<class T0,class T1,class> static auto System::Math::Max(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
Greatest value out of val1 and val2.
Math::Max(T0, T1) method
Returns the greatest value out of two numeric ones specified.
template<class T0,class T1,class> static T0 System::Math::Max(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
Greatest value out of val1 and val2.
See Also
- Struct Math
- Namespace System
- Library Aspose.Slides