{"Entry":{"collection":"func","key":"scale","name":"scale","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.5","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.6"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"3434333da1d29ca3dbeb608d8ccca1aebb44ff0f6b07cb421c95093b8b8c0fc3","derived_content_hash":"800cbbea1c5386cdbf5fceb7efd3a9e3b907a7473e2c78fee8f787e81fdcf34c","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:f10c436992c0cf7b81d6e4a1bbfd4a94c63fe30f14a0c15c59dde031eade5f7f","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"9.6","group":"math","group_label":"Mathematical Functions And Operators","groups":["math"],"imported_at":"2026-09-27T17:57:28.256583+08:00","last_version":"20","name":"scale","name_key":"scale","position":2043,"present_in":["9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"b7bd9cda","receipt_sha256":"9c20cad0aae3ac4de2efa81af41ee363d221b1252dc96ae2c074904a9f4b16ae","repair":"wiki-repair-20261023"},"signature":"scale ( numeric ) → integer","signature_count":1,"slug":"scale","source_rev":"wiki-repair-20261023:f10c436992c0cf7b81d6e4a1bbfd4a94c63fe30f14a0c15c59dde031eade5f7f","summary":"Scale of the argument (the number of decimal digits in the fractional part)","summary_zh":""}},"Definition":{"Collection":"func","Key":"scale","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"scale","SourceRevision":"wiki-repair-20261023:f10c436992c0cf7b81d6e4a1bbfd4a94c63fe30f14a0c15c59dde031eade5f7f","Facts":{"description":"Scale of the argument (the number of decimal digits in the fractional part)","description_html":"Scale of the argument (the number of decimal digits in the fractional part)","description_zh":"参数的小数位数（小数部分的十进制位数）","description_zh_html":"参数的小数位数（小数部分的十进制位数）","doc":{"anchor":"FUNCTIONS-MATH-FUNC-TABLE","file":"functions-math.html","sha256":"80bdcd3a2c7112aadf400e832cc7c8ee55e389d9b3c12e767c3fbb2b3364ef7b","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-math.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"80bdcd3a2c7112aadf400e832cc7c8ee55e389d9b3c12e767c3fbb2b3364ef7b","version":"18.7"},{"file":"functions-math.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"b48c7e1d8abf0f030ad0ef2aa1403db7015a96af265d49a15eaa2f1945a13a5f","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"math","group_label":"数学函数和操作符","lang":"en","layout":"table-new","pages":["functions-math.html"],"prose_only":false,"signatures":[{"description":"Scale of the argument (the number of decimal digits in the fractional part)","description_html":"Scale of the argument (the number of decimal digits in the fractional part)","description_zh":"参数的小数位数（小数部分的十进制位数）","description_zh_html":"参数的小数位数（小数部分的十进制位数）","examples":[{"expr":"scale(8.4100)","result":"4"}],"html":"\u003ccode class=\"function\"\u003escale\u003c/code\u003e ( \u003ccode class=\"type\"\u003enumeric\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"scale ( numeric ) → integer","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-math.html","sha256":"b5f393c537ea29401867ea8b97292650ee67b0dd9e8cde535aae77bc594b3736"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-MATH-FUNC-TABLE","file":"functions-math.html","sha256":"80bdcd3a2c7112aadf400e832cc7c8ee55e389d9b3c12e767c3fbb2b3364ef7b","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"scale","SourceDatabase":"center","Version":"18","Locale":"en","Title":"scale","Summary":"Scale of the argument (the number of decimal digits in the fractional part)","BodyHTML":"Scale of the argument (the number of decimal digits in the fractional part)","SourceRevision":"wiki-repair-20261023:f10c436992c0cf7b81d6e4a1bbfd4a94c63fe30f14a0c15c59dde031eade5f7f","ContentHash":"6f18789e881381d7037c3bdcd59e7123693c6421d38af7fa07aa34ab24921425","Payload":{"description":"Scale of the argument (the number of decimal digits in the fractional part)","description_html":"Scale of the argument (the number of decimal digits in the fractional part)","signatures":[{"description":"Scale of the argument (the number of decimal digits in the fractional part)","description_html":"Scale of the argument (the number of decimal digits in the fractional part)","description_zh":"参数的小数位数（小数部分的十进制位数）","description_zh_html":"参数的小数位数（小数部分的十进制位数）","examples":[{"expr":"scale(8.4100)","result":"4"}],"html":"\u003ccode class=\"function\"\u003escale\u003c/code\u003e ( \u003ccode class=\"type\"\u003enumeric\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"scale ( numeric ) → integer","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"16b6532d80eb44497b04e98f97119d7467111b3a72280e05f5d5684b38b73627","Text":"scale ( numeric ) → integer","Returns":"integer","Payload":{"description":"Scale of the argument (the number of decimal digits in the fractional part)","description_html":"Scale of the argument (the number of decimal digits in the fractional part)","description_zh":"参数的小数位数（小数部分的十进制位数）","description_zh_html":"参数的小数位数（小数部分的十进制位数）","examples":[{"expr":"scale(8.4100)","result":"4"}],"html":"\u003ccode class=\"function\"\u003escale\u003c/code\u003e ( \u003ccode class=\"type\"\u003enumeric\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003einteger\u003c/code\u003e","returns":"integer","text":"scale ( numeric ) → integer","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
