> ## Documentation Index
> Fetch the complete documentation index at: https://kk-83bff226.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# decimalToOctal

> Converts a decimal number to its octal representation.

## Signature

```typescript path=null start=null theme={null}
decimalToOctal(decimal: number): string
```

## Parameters

* **decimal**: `number` - The decimal number to be converted.

## Returns

`string` - The octal representation of the decimal number as a string.

## Source

Defined in [number.ts:333](https://github.com/koji/ichigyou/blob/main/src/number.ts#L333)
