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

# 한글 숫자 복원 (hangul_to_number)

> 한글 숫자 문자열을 숫자로 변환

한글 숫자 문자열을 다시 `int` 또는 `float` 으로 바꿉니다.

```python theme={null}
hangul_to_number(text: str) -> int | float
```

## 예시

```python theme={null}
from hangulpy import hangul_to_number

print(hangul_to_number("천이백삼십사"))  # 1234
print(hangul_to_number("삼점일사"))  # 3.14
```

## 같이 보기

* [number\_to\_hangul / float\_to\_hangul](number-to-hangul)
