[**@bondsports/general**](../README.md) • **Docs**

***

[@bondsports/general](../globals.md) / roundQuantity

# Function: roundQuantity()

> **roundQuantity**(`amount`): `number`

Rounds a quantity to the persisted precision used by pricing records.

## Parameters

• **amount**: `number`

The quantity to round.

## Returns

`number`

The rounded quantity.

## Defined in

[utils/quantity.util.ts:31](https://github.com/Bond-Sports/bondUtils/blob/545f16ceb055481acfd7641d7809c0f252d3a5e6/packages/general/src/utils/quantity.util.ts#L31)
