to_number ( text, text ) → numeric → numeric根据给定的格式将字符串转换为数值。
to_number
根据给定的格式将字符串转换为数值。
英文手册覆盖始于 PostgreSQL 7.1. 来源历史与运行验证各自保留独立版本边界。
当前阅读 PG 19·选择有来源记录的版本
- group
- formatting
- group label
- Data Type Formatting Functions
- lang
- en
- layout
- table-new
- pages
- functions-formatting.html
- prose only
- false
版本定义 PG 19
根据给定的格式将字符串转换为数值。
to_number ( text, text ) → numeric根据给定的格式将字符串转换为数值。
函数签名与重载
比较版本
来源引用
定义来源
center · PostgreSQL 19 · wiki-repair-20261023:5f614e11fb85fb131a698437a151216ba1a68c6df6c8c9545bd0d4d71c09a1bc
正文语言: zh-Hans · wiki-repair-20261023:5f614e11fb85fb131a698437a151216ba1a68c6df6c8c9545bd0d4d71c09a1bc