> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.sigmacomputing.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.sigmacomputing.com/_mcp/server.

# Div

> Use the Sigma Div function to return the integer component of a division operation.

The **Div** function returns the integer component of a division operation.

## Syntax

`Div(dividend, divisor)`

Function arguments:

* **dividend** (required) The number to be divided.
* **divisor** (required) The number to divide by.

## Examples

`Div(19,5)=3`

19 divided by 3 is 3.8. The integer component 3.

`Div(2,3)=0`

If there is no integer component (0.6), the result is 0.

`Div(223876005,49249113)` is 4.

`Div(231411735,125057657)` is 1.

`Div(231522094,129574946)` is 1.

`Div(165720944,130428781)` is 1.

`Div(null,95205404)` is null.

![](https://fdr-prod-docs-files-public.s3.us-east-1.amazonaws.com/sigma.docs.buildwithfern.com/b4868257d7a67662e0cac706b0140977637f6f3f073f497f5c20c5fe09a21c5e/assets/docs-images/dd6fb4f-rrr.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA6KXJSKKNFOCF7G4B%2F20261007%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261007T064510Z&X-Amz-Expires=604800&X-Amz-Signature=a3f06b58626b27bf858008cc23aae084e99fd06b77c5d5dae7e655944a7a1554&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject)

## Related resources

* [Mod](/docs/mod)