{"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","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"],"signature":"scale ( numeric ) → integer","signature_count":1,"slug":"scale","source_rev":"b7bd9cda","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":"b7bd9cda","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","slug":"18"},"group":"math","group_label":"Mathematical Functions And Operators","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":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-MATH-FUNC-TABLE","file":"functions-math.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"scale","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"scale","Summary":"参数的小数位数（小数部分的十进制位数）","BodyHTML":"参数的小数位数（小数部分的十进制位数）\u003cpre\u003escale ( numeric ) → integer\u003c/pre\u003e参数的小数位数（小数部分的十进制位数）","SourceRevision":"ca936764","ContentHash":"373a1bfd763cc009d261a803c222afd5e1a1f797934ac0e372489a9df8fcc045","Payload":{"description_zh":"参数的小数位数（小数部分的十进制位数）","description_zh_html":"参数的小数位数（小数部分的十进制位数）","signatures":[{"description_zh":"参数的小数位数（小数部分的十进制位数）","description_zh_html":"参数的小数位数（小数部分的十进制位数）","returns":"integer","text":"scale ( numeric ) → integer","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
