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

# formatQuai

```ts theme={null}
function formatQuai(wei): string
```

Converts `value` into a decimal string sing 18 decimal places.

## Parameters

| Parameter | Type                                                     | Description           |
| :-------- | :------------------------------------------------------- | :-------------------- |
| `wei`     | [`BigNumberish`](/sdk/content/type-aliases/BigNumberish) | The value to convert. |

## Returns

`string`

The converted value.

## Source

[utils/units.ts:79](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/utils/units.ts#L79)
