---
url: /typescript-api/functions/builtinFormatCode.md
---
[@sheetkit/node](../globals.md) / builtinFormatCode

# Function: builtinFormatCode()

> **builtinFormatCode**(`id`): `string` | `null`

Defined in: [packages/sheetkit/index.ts:2939](https://github.com/Nebu1eto/sheetkit/blob/aedd8c0c4ec37185210740b875ec6bb714d323d4/packages/sheetkit/index.ts#L2939)

Get the format code string for a built-in number format ID (0-49). Returns null if unknown.

## Parameters

### id

`number`

## Returns

`string` | `null`
