> ## Documentation Index
> Fetch the complete documentation index at: https://voltaire.tevm.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Uint.dividedBy

> Divide Uint256 values with floor division

<Card title="Try it Live" icon="play" href="https://playground.tevm.sh?example=primitives/uint.ts">
  Run Uint examples in the interactive playground
</Card>

## `Uint.dividedBy(a: BrandedUint256, b: BrandedUint256): BrandedUint256`

Divide Uint256 values. Floor division (rounds down).

**Parameters:**

* `a: BrandedUint256` - Dividend
* `b: BrandedUint256` - Divisor

**Returns:** `BrandedUint256` - Quotient (floor division)

**Example:**

```typescript theme={null}
import { Uint } from 'tevm'

const a = Uint(100n)
const b = Uint(10n)
Uint.dividedBy(a, b)  // 10

// Floor division
const c = Uint(7n)
const d = Uint(2n)
Uint.dividedBy(c, d)  // 3 (not 3.5)

// Division by zero throws
Uint.dividedBy(a, Uint.ZERO)  // Error
```

**Defined in:** [primitives/Uint/dividedBy.ts:19](https://github.com/evmts/voltaire/blob/main/src/primitives/Uint/dividedBy.ts#L19)

<Warning title="Division by Zero">
  Throws error if divisor is zero.
</Warning>

## See Also

* [modulo](/primitives/uint256/modulo) - Remainder
* [Arithmetic operations](/primitives/uint256/arithmetic) - Full arithmetic reference
