# formatAmountParts

> **formatAmountParts**(`amount`, `currency?`): `RewardAmountParts`

Defined in: utils/format/formatAmountParts.ts:34

Split a money amount into display parts, using the same options as
[formatAmount](/developers/references/core-sdk/index/functions/formatamount/) so the two can never disagree about the number.

## Parameters

### amount

`number`

### currency?

[`Currency`](/developers/references/core-sdk/index/type-aliases/currency/)

## Returns

`RewardAmountParts`