Skip to content
Subjects
Code examples
Library reference
Computer Programming
Python
Java
C++
C
Go
PHP
Kotlin
Ruby
R
Scala
Groovy
Rust
Dart
Mojo
Zig
Julia
Swift
C#
JavaScript
TypeScript
Tutorial menu
×
Subjects
Computer Programming
Maths
Planned
Chemistry
Planned
Lesson contents
Programming resources
All languages
Code examples
Library reference
Programming languages
Python
Java
C++
C
Go
PHP
Kotlin
Ruby
R
Scala
Groovy
Rust
Dart
🔥
Mojo
Zig
Julia
Swift
C#
JavaScript
TypeScript
Tutorials
/
Computer Programming
/
Library
/
Python integer %
/
Other languages
integer % in other languages
Wrap a shelf position back to the last shelf
Groovy
Math.floorMod
Java
Math.floorMod
Kotlin
java.lang.Math.floorMod
R
%%
Ruby
Integer#modulo
Scala
java.lang.Math.floorMod