---
title: Dividing numbers
framework: appstoreconnectapi
role: article
role_heading: Article
path: appstoreconnectapi/dividing-numbers
---

# Dividing numbers

Return the result of dividing one number into another.

## Overview

Overview Use the div() function in the expression of a matchmaking rule to divide two numbers. Declaration number div(number $dividend, number $divisor) Parameters -dividend: The number that the function divides. -divisor: The number that the function divides into dividend. Return value The result or quotient of dividing divisor into dividend. If divisor is zero, null.

## See Also

### Numeric functions

- [Subtracting numbers](appstoreconnectapi/subtracting-numbers.md)
