Math.FloorMod 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.
Overloads
FloorMod(Int32, Int32) |
Returns the floor modulus of the |
FloorMod(Int64, Int32) |
Returns the floor modulus of the |
FloorMod(Int64, Int64) |
Returns the floor modulus of the |
FloorMod(Int32, Int32)
Returns the floor modulus of the int
arguments.
[Android.Runtime.Register("floorMod", "(II)I", "", ApiSince=24)]
public static int FloorMod (int x, int y);
[<Android.Runtime.Register("floorMod", "(II)I", "", ApiSince=24)>]
static member FloorMod : int * int -> int
Parameters
- x
- Int32
the dividend
- y
- Int32
the divisor
Returns
the floor modulus x - (floorDiv(x, y) * y)
- Attributes
Remarks
Java documentation for java.lang.Math.floorMod(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
FloorMod(Int64, Int32)
Returns the floor modulus of the long
and int
arguments.
[Android.Runtime.Register("floorMod", "(JI)I", "", ApiSince=31)]
public static int FloorMod (long x, int y);
[<Android.Runtime.Register("floorMod", "(JI)I", "", ApiSince=31)>]
static member FloorMod : int64 * int -> int
Parameters
- x
- Int64
the dividend
- y
- Int32
the divisor
Returns
the floor modulus x - (floorDiv(x, y) * y)
- Attributes
Remarks
Java documentation for java.lang.Math.floorMod(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
FloorMod(Int64, Int64)
Returns the floor modulus of the long
arguments.
[Android.Runtime.Register("floorMod", "(JJ)J", "", ApiSince=24)]
public static long FloorMod (long x, long y);
[<Android.Runtime.Register("floorMod", "(JJ)J", "", ApiSince=24)>]
static member FloorMod : int64 * int64 -> int64
Parameters
- x
- Int64
the dividend
- y
- Int64
the divisor
Returns
the floor modulus x - (floorDiv(x, y) * y)
- Attributes
Remarks
Java documentation for java.lang.Math.floorMod(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.