Keywords: clear search

## Welcome to the Futurama Support Site

The Futurama Support Site is the website where you can find Futurama and Futurama Vision documentation. If you have any questions about the support pages or if you want to provide us feedback please send us an e-mail.

Index Mod

451 documents found.

# Mod

Developer
Futurama-Editor
Futurama-Formulas

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