> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.52-preview/clearlines-functions/mathematical-functions/mod.md).

# MOD

Returns the remainder after dividing a number by another number.

#### Syntax

**MOD**(*number;* *divisor*)

1. *number* - the number from which the modulo remainder should be returned - ***Value type**: number*
2. *divisor* - the number to divide - ***Value type**: number*

#### Remarks

1. If *divisor* is 0, the function returns !DIV0.
2. *number* and *divisor* can be negative and/or floating point numbers as well. Then the standard modulo logic is applied.

#### Examples

<figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/BPWSsiSfqVbCOxzIlHXN/grafik.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/oSW0Gj1LGY8cOcuBw6pO/grafik.png" alt=""><figcaption></figcaption></figure>
