# toHumanReadableString()

```
function toHumanReadableString(amount, token): string;
```

Defined in: [atomiq-sdk/src/utils/TokenUtils.ts:13](https://github.com/atomiqlabs/atomiq-sdk/blob/786509324f7f09c427e9ccfe527d82e496f06af5/src/utils/TokenUtils.ts#L13)

Converts a raw bigint amount to a human-readable string with decimals

## Parameters

| Parameter | Type                                                                                           | Description          |
| --------- | ---------------------------------------------------------------------------------------------- | -------------------- |
| `amount`  | `bigint`                                                                                       | Amount in base units |
| `token`   | [`Token`](https://docs.atomiq.exchange/sdk-reference/api/atomiq-sdk/src/type-aliases/Token.md) | Token                |

## Returns

`string`
