Share via


Math.FloorDiv Method

Definition

Overloads

FloorDiv(Int32, Int32)

Returns the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient.

FloorDiv(Int64, Int32)

Returns the largest (closest to positive infinity) long value that is less than or equal to the algebraic quotient.

FloorDiv(Int64, Int64)

Returns the largest (closest to positive infinity) long value that is less than or equal to the algebraic quotient.

FloorDiv(Int32, Int32)

Returns the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient.

[Android.Runtime.Register("floorDiv", "(II)I", "", ApiSince=24)]
public static int FloorDiv (int x, int y);
[<Android.Runtime.Register("floorDiv", "(II)I", "", ApiSince=24)>]
static member FloorDiv : int * int -> int

Parameters

x
Int32

the dividend

y
Int32

the divisor

Returns

the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient.

Attributes

Remarks

Java documentation for java.lang.Math.floorDiv(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.

Applies to

FloorDiv(Int64, Int32)

Returns the largest (closest to positive infinity) long value that is less than or equal to the algebraic quotient.

[Android.Runtime.Register("floorDiv", "(JI)J", "", ApiSince=31)]
public static long FloorDiv (long x, int y);
[<Android.Runtime.Register("floorDiv", "(JI)J", "", ApiSince=31)>]
static member FloorDiv : int64 * int -> int64

Parameters

x
Int64

the dividend

y
Int32

the divisor

Returns

the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient.

Attributes

Remarks

Java documentation for java.lang.Math.floorDiv(long, 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.

Applies to

FloorDiv(Int64, Int64)

Returns the largest (closest to positive infinity) long value that is less than or equal to the algebraic quotient.

[Android.Runtime.Register("floorDiv", "(JJ)J", "", ApiSince=24)]
public static long FloorDiv (long x, long y);
[<Android.Runtime.Register("floorDiv", "(JJ)J", "", ApiSince=24)>]
static member FloorDiv : int64 * int64 -> int64

Parameters

x
Int64

the dividend

y
Int64

the divisor

Returns

the largest (closest to positive infinity) long value that is less than or equal to the algebraic quotient.

Attributes

Remarks

Java documentation for java.lang.Math.floorDiv(long, long).

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.

Applies to