# bigIntMultiply

> Overview of the bigIntMultiply function

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function bigIntMultiply(base, multiplier, roundingMode): bigint;
```

Defined in: [packages/common/src/utils/bigint.ts:41](https://github.com/alchemyplatform/aa-sdk/blob/v5.x.x/packages/common/src/utils/bigint.ts#L41)

Given a bigint and a number (which can be a float), returns the bigint value.
Note: this function has loss and will round down to the nearest integer.

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Default value</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `base`
      </td>

      <td>
        `BigNumberish`
      </td>

      <td>
        `undefined`
      </td>

      <td>
        the number to be multiplied
      </td>
    </tr>

    <tr>
      <td>
        `multiplier`
      </td>

      <td>
        `number`
      </td>

      <td>
        `undefined`
      </td>

      <td>
        the amount to multiply by
      </td>
    </tr>

    <tr>
      <td>
        `roundingMode`
      </td>

      <td>
        `RoundingMode`
      </td>

      <td>
        `RoundingMode.ROUND_UP`
      </td>

      <td>
        the rounding mode to use when calculating the percent. defaults to ROUND\_UP
      </td>
    </tr>

  </tbody>
</table>

## Returns

`bigint`

the bigint value of the multiplication with the number rounded by the rounding mode