# Divide

## Overview

![](https://879976444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MIspkFTPkuGkv4UgQGs-41739140%2Fuploads%2Fgit-blob-7dd77ef0818efe596a3e0e0630a74dcf304e8bbd%2Fnode-divide.png?alt=media)

**Divide** is a *basic arithmetic operation* **Node**, which divides one number (*dividend*) by a second number (*divisor*) and outputs the result of the operation (*quotient*).

This is the equivalent of the division (`÷` or `/`) operation in computer science and mathematics.

## Attributes

| Attribute          | Type                                          | Description                                                                                                              |
| ------------------ | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| `Data Type`        | **Drop-down**                                 | The type of data that will be plugged into the `Input` **Sockets**.                                                      |
| `Default Dividend` | *Defined in the `Data Type`* ***Attribute***. | The left side of the division operation (the number to be divided) if no value is provided in the `Dividend` **Socket**. |
| `Default Divisor`  | *Defined in the `Data Type`* ***Attribute***. | The right side of the division operation (the number to divide by) if no value is provided in the `Divisor` **Socket**.  |

## Inputs

| Input             | Type                                          | Description                                                           |
| ----------------- | --------------------------------------------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**                                     | A standard input **Pulse**, to trigger the execution of the **Node**. |
| `Dividend`        | *Defined in the `Data Type`* ***Attribute***. | The left side of the division operation (the number to be divided).   |
| `Divisor`         | *Defined in the `Data Type`* ***Attribute***. | The right side of the division operation (the number to divide by).   |

## Outputs

| Output             | Type                                          | Description                                                                                                                          |
| ------------------ | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| *Pulse Output* (►) | **Pulse**                                     | A standard output **Pulse**, to move onto the next **Node** along the *logic branch*, once this **Node** has finished its execution. |
| `Quotient`         | *Defined in the `Data Type`* ***Attribute**.* | The result of the division operation.                                                                                                |
