# Divide ![](../img/divide.png) ### Description Divides **A** by **B**. Numbers and vectors are both accepted. With vectors the operation is applied to each component separately, and a number combined with a vector is applied to every component of it. The result is always a real number, so dividing two integers keeps the fractional part. Dividing a non-zero value by zero gives infinity with the sign of the numerator, and dividing zero by zero gives a value that is not a number. #### Ports | Name | Description | | |---|---|---| | ![](../img/types/any.png) | **A** | The first operand. | | ![](../img/types/any.png) | **B** | The second operand. | | ![](../img/types/any.png) | **Result** | The result of the operation. | ## See Also - [Add](../../../../../code/plugins/scenariomanager/node_library/math/add.md) - [Subtract](../../../../../code/plugins/scenariomanager/node_library/math/subtract.md) - [Multiply](../../../../../code/plugins/scenariomanager/node_library/math/multiply.md)