> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Items

# Type: WixDataAggregatePipelineExpressions

# Action: divide

# Link: https://dev.wix.com/docs/sdk/data-items-sdk/data/items/wix-data-aggregate-pipeline-expressions/divide.md

## Description: Divides 1 expression by another.

The `divide()` method configures the aggregation pipeline to divide the first expression by the second expression.

## Schema:

```json
 Method: divide(first, second)
 Description: Divides 1 expression by another.  The `divide()` method configures the aggregation pipeline to divide the first expression by the second expression.
 Method parameters:
   param name:  first | type: Expression | description:  Expression to divide by `second`. Expression must resolve to a number. 
   param name:  second | type: Expression | description:  Expression to divide `first` by. Expression must resolve to a non-zero number. 
 Return type: REFERENCE<DivideExpression>

```