# MOD

#### 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://3148043601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL43fiRbeRtPnTjMpbGNO%2Fuploads%2Fgit-blob-6ceb433600bcef7040785cd3c6c25979cbc58f53%2Fgrafik%20(239).png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3148043601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL43fiRbeRtPnTjMpbGNO%2Fuploads%2Fgit-blob-d5ee973106178f3afe0fa0731a22d6d58c333c6e%2Fgrafik%20(530).png?alt=media" alt=""><figcaption></figcaption></figure>
