# Argh! Where is the modulo function?

**URL:** https://forum.makecode.com/t/argh-where-is-the-modulo-function/10724
**Category:** AP CS Principles
**Created:** [November 2, 2021, 3:32pm UTC](https://forum.makecode.com/t/argh-where-is-the-modulo-function/10724 "2021-11-02T15:32:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![grandmadeb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/grandmadeb/32/4449_2.png) [@grandmadeb](https://forum.makecode.com/u/grandmadeb)
#### Post date: [November 2, 2021, 3:32pm UTC](https://forum.makecode.com/t/argh-where-is-the-modulo-function/10724/1 "2021-11-02T15:32:54Z")

</div>

Eeeek! Is there one? I cannot find it. I found floor, ceiling, truncate… all kinds of things but no modulo…

Any chance I am just bad at looking? =D I searched for modulo mod and %

---

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [November 2, 2021, 5:07pm UTC](https://forum.makecode.com/t/argh-where-is-the-modulo-function/10724/2 "2021-11-02T17:07:13Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/2/239f450b8cea2e7799446c86853d0472cfe47a28.png)  
Sometimes I wish they used % too instead of “remainder of [] / []” cause it takes me forever to find it.

---

<div class="post-metadata">

### Author: ![grandmadeb](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/grandmadeb/32/4449_2.png) [@grandmadeb](https://forum.makecode.com/u/grandmadeb)
#### Post date: [November 2, 2021, 5:52pm UTC](https://forum.makecode.com/t/argh-where-is-the-modulo-function/10724/3 "2021-11-02T17:52:53Z")

</div>

You are a lifesaver, thanks!
