• Futurama Formulas - Date and time
• Futurama Formulas - Math
• Futurama Formulas - Statistical
• Futurama Formulas - Text
• Futurama Formulas - Logical
• Futurama Formulas - Table
• Futurama Formulas - Document
• Futurama Formulas - Conversion
• Futurama Formulas - Matrix
• Creating custom formulas in Futurama

Module: Editor

Version: 2.2.1 +

Type: Double

Category: Math

## Description

The formula 'Mod' returns the remainder after a divisor is subtracted a whole number of times from a certain number. To get this whole number of times divide the certain number by the divisor and round the result down to a whole number.

## Parameters

Number:

This is the number that will be divided by.

Divisor:

This is the number that the divisor will be.

## Example

### Description

In this example the formula 'Mod' is used on the number 5.3 with a divisor of 2.1.

Number:

5.3

Divisor:

2.1

### Result

Result:

1.1

If we divide 5.3 by 2.1, the result is 2.523. Rounding down gives 2, so the result is:

5.3 - (2*2.1) = 1.1

Updated: 2013-03-25