{"Entry":{"collection":"func","key":"abs","name":"abs","aliases":[],"metadata":{"changed_in":["8.4"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.3","group_changed":null,"signatures":{"added":["abs ( x ) → (same as input)"],"removed":["abs ( x ) → (same as x)"]},"status":"changed","to":"8.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"98080e5e2c16a2f45123edcbf21f413d87e1c220ee02c594754c5684f0b4c9e4","derived_content_hash":"1af8514ff9568a457b22c25b487165642acafc108f1590ce23559057ff1e4c4f","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:929a57314aa2f89665abea00e8267723435636521619d334885a8b8fc705efc2","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"7.1","group":"math","group_label":"Mathematical Functions And Operators","groups":["math"],"imported_at":"2026-09-27T17:57:28.165592+08:00","last_version":"20","name":"abs","name_key":"abs","position":2000,"present_in":["7.1","7.2","7.3","7.4","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:9e37dcd70742f28b86d393ace3b8174986447d4b8a52afc0db2bc1ee3d892b78","receipt_sha256":"d4a01e0f30d825ef3e6d4d17aa37ac0c61cda1900636292a5c9aea51577fb9c2","repair":"wiki-repair-20261023"},"signature":"abs ( numeric_type ) → numeric_type","signature_count":1,"slug":"abs","source_rev":"wiki-repair-20261023:929a57314aa2f89665abea00e8267723435636521619d334885a8b8fc705efc2","summary":"Absolute value","summary_zh":""}},"Definition":{"Collection":"func","Key":"abs","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"abs","SourceRevision":"wiki-repair-20261023:929a57314aa2f89665abea00e8267723435636521619d334885a8b8fc705efc2","Facts":{"description":"Absolute value","description_html":"Absolute value","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":"Absolute value","description_html":"Absolute value","description_zh":"绝对值","description_zh_html":"绝对值","examples":[{"expr":"abs(-17.4)","result":"17.4"}],"html":"\u003ccode class=\"function\"\u003eabs\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003enumeric_type\u003c/code\u003e\u003c/em\u003e ) → \u003ccode class=\"returnvalue\"\u003e\u003cem class=\"replaceable\"\u003e\u003ccode\u003enumeric_type\u003c/code\u003e\u003c/em\u003e\u003c/code\u003e","returns":"numeric_type","text":"abs ( numeric_type ) → numeric_type","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":"abs","SourceDatabase":"center","Version":"18","Locale":"en","Title":"abs","Summary":"Absolute value","BodyHTML":"Absolute value","SourceRevision":"wiki-repair-20261023:929a57314aa2f89665abea00e8267723435636521619d334885a8b8fc705efc2","ContentHash":"cef4f9be2fe4c0fedf2744e07372d458b45a4189c32745e72d6f37a60ca146db","Payload":{"description":"Absolute value","description_html":"Absolute value","signatures":[{"description":"Absolute value","description_html":"Absolute value","description_zh":"绝对值","description_zh_html":"绝对值","examples":[{"expr":"abs(-17.4)","result":"17.4"}],"html":"\u003ccode class=\"function\"\u003eabs\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003enumeric_type\u003c/code\u003e\u003c/em\u003e ) → \u003ccode class=\"returnvalue\"\u003e\u003cem class=\"replaceable\"\u003e\u003ccode\u003enumeric_type\u003c/code\u003e\u003c/em\u003e\u003c/code\u003e","returns":"numeric_type","text":"abs ( numeric_type ) → numeric_type","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","7.1","7.2","7.3","7.4","8.0","8.1","8.2","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"090bf6598abec90016e4b5073c3d2f9b2432b11394aa9795621ee8cf3104ac87","Text":"abs ( numeric_type ) → numeric_type","Returns":"numeric_type","Payload":{"description":"Absolute value","description_html":"Absolute value","description_zh":"绝对值","description_zh_html":"绝对值","examples":[{"expr":"abs(-17.4)","result":"17.4"}],"html":"\u003ccode class=\"function\"\u003eabs\u003c/code\u003e ( \u003cem class=\"replaceable\"\u003e\u003ccode\u003enumeric_type\u003c/code\u003e\u003c/em\u003e ) → \u003ccode class=\"returnvalue\"\u003e\u003cem class=\"replaceable\"\u003e\u003ccode\u003enumeric_type\u003c/code\u003e\u003c/em\u003e\u003c/code\u003e","returns":"numeric_type","text":"abs ( numeric_type ) → numeric_type","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
