> 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

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://files.buildwithfern.com/sigma.docs.buildwithfern.com/b4868257d7a67662e0cac706b0140977637f6f3f073f497f5c20c5fe09a21c5e/assets/docs-images/dd6fb4f-rrr.png)

## Related resources

* [Mod](/docs/mod)