> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/math/divide.md).

# Divide

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-0aa6cda7cd25acdbad151f2747a91fc74f436ee7%2Fdivide.png?alt=media)

## Description

Returns the quotient, whole number, and remainder of the two input values

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input     | Type   | Required | Description                    |
| --------- | ------ | -------- | ------------------------------ |
| Operand A | Number | Yes      | A number to be divided.        |
| Operand B | Number | Yes      | What to divide Operand A into. |

## Outputs

| Output    | Type   | Description                                                      |
| --------- | ------ | ---------------------------------------------------------------- |
| Quotient  | Number | Outputs the result of Operand A divided by Operand B.            |
| Whole     | Number | The Quotient rounded to the nearest whole number.                |
| Remainder | Number | The remainder left over after Operand A is divided by Operand B. |

\
\
**Contributors**

AddiCt3d 2CHa0s
