> For the complete documentation index, see [llms.txt](https://gitbook.ziyuesinicization.site/blitz-basic-language-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.ziyuesinicization.site/blitz-basic-language-reference/zh_hans/basic-data-types.md).

# 基本数据类型

Blitz 有三种基本数据类型：

* **整数值**是没有小数的数值。例如：`5`、`-10`、`0` 是整数值。程序中的整数值必须在-2147483648到+2147483647的范围内。
* **浮点值**是包含小数的数值。例如：`.5`、`-10.1`、`0.0` 都是浮点值。
* **字符串值**被用于保存文本。例如：`"Hello"`、`"What's up?"`、`"***** GAME OVER *****"`、`""`。

一般情况下，整数值比浮点值要快，而浮点值要比字符串快。
