# Futurebasic/Language/Reference/mod

## MOD edit

### Syntax edit

*remainder* = *expr* **MOD** *modulus*

### Description edit

The

operator subtracts from **MOD**`ABS(`

the largest multiple of *expr*)`ABS(`

) which is less than or equal to *modulus*`ABS(`

, and returns the result as remainder. If *expr*)

is negative, then a negative result is returned in remainder.
*expr*

Note that if

and modulus are both integers, the result of *expr*

is just the remainder of the integer division operation **MOD**

.
*expr* / *modulus*

### See Also edit

Appendix D: Numeric Expressions