Integer.Min(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the smaller of two int
values
as if by calling Math#min(int, int) Math.min
.
[Android.Runtime.Register("min", "(II)I", "", ApiSince=24)]
public static int Min (int a, int b);
[<Android.Runtime.Register("min", "(II)I", "", ApiSince=24)>]
static member Min : int * int -> int
Parameters
- a
- Int32
the first operand
- b
- Int32
the second operand
Returns
the smaller of a
and b
- Attributes
Remarks
Returns the smaller of two int
values as if by calling Math#min(int, int) Math.min
.
Added in 1.8.
Java documentation for java.lang.Integer.min(int, int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.