NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Math.Min (Byte, Byte)

Returns the smaller of two numbers.

[Visual Basic]
Overloads Public Shared Function Min( _
   ByVal val1 As Byte, _
   ByVal val2 As Byte _
) As Byte
[C#]
public static byte Min(
   byte val1,
   byte val2
);
[C++]
public: static unsigned char Min(
   unsigned char val1,
   unsigned char val2
);
[JScript]
public static function Min(
   val1 : Byte,
   val2 : Byte
) : Byte;

Parameters

val1
The first of two values to be compared.
val2
The second of two values to be compared.

Return Value

Returns the minimum of val1 and val2.

See Also

Math Class | Math Members | System Namespace | Math.Min Overload List