# mod

Modulus after division.

## 📝 Syntaxe

* C = mod(A, B)

## 📥 Argument d'entrée

* A - a variable: dividend
* B - a variable: divisor

## 📤 Argument de sortie

* C - result of mod(A, B)

## 📄 Description

C = mod(A, B) computes the modulo of A and B, i.e : A - B .\* floor (A ./ B).

This function manages also negative values.

## 💡 Exemple

```matlab
 mod (-1, 3)
```

## 🔗 Voir aussi

[rem](https://nelson-9.gitbook.io/nelson/markdown/fr/elementary_functions/rem), [floor](https://nelson-9.gitbook.io/nelson/markdown/fr/elementary_functions/floor).

## 🕔 Historique

| Version | 📄 Description   |
| ------- | ---------------- |
| 1.0.0   | version initiale |
