asp.net.ph

Math.Max Method ( Int16, Int16 )

System Namespace   Math Class


Returns the smaller of two 16-bit signed integers.

[ VB ]
Overloads Public Shared Function Max ( _
   ByVal val1 As Short, _
   ByVal val2 As Short _
) As Short

[ C# ]
public static short Max (
   short val1,
   short val2
);

[ C++ ]
public: static short Max (
   short val1,
   short val2
);

[ JScript ]
public static function Max (
   val1 : Int16,
   val2 : Int16
) : Int16;

Parameters

val1
The first of two 16-bit signed integers to compare.
val2
The second of two 16-bit signed integers to compare.

Return Value

Parameter val1 or val2, whichever is smaller.

See Also

Math Members   Math.Max Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph