{"Entry":{"collection":"func","key":"ceil","name":"ceil","aliases":[],"metadata":{"changed_in":["7.3"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"7.2","group_changed":null,"signatures":{"added":["ceil ( dp or numeric ) → (same as input)"],"removed":["ceil ( numeric ) → numeric"]},"status":"changed","to":"7.3"},{"descriptions_changed":true,"doc_overhaul":false,"from":"9.0","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"9.1"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"cf83f15bd14e25207e2dc7763ea74b322dd41998b1ac34aaae20272d0c93282a","derived_content_hash":"5aabd0b81c01ef5070270be5f276beffadcf04503ca4d7531cc58717d1046c18","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:315bc169cb417b1be876a7f16485e9a1466744acea1ae3aec1f23aa5ad575947","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.198211+08:00","last_version":"20","name":"ceil","name_key":"ceil","position":2013,"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:807a5fd2a0971f6f0e3ecddf86603bbd0c65b85f954cec882ea076b4262cfb7b","receipt_sha256":"4e2c321cf28b08bd3c5d9899f701b18c40c2fbfb2f031f7afda0cb769f642527","repair":"wiki-repair-20261023"},"signature":"ceil ( numeric ) → numeric","signature_count":2,"slug":"ceil","source_rev":"wiki-repair-20261023:315bc169cb417b1be876a7f16485e9a1466744acea1ae3aec1f23aa5ad575947","summary":"Nearest integer greater than or equal to argument","summary_zh":""}},"Definition":{"Collection":"func","Key":"ceil","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"ceil","SourceRevision":"wiki-repair-20261023:315bc169cb417b1be876a7f16485e9a1466744acea1ae3aec1f23aa5ad575947","Facts":{"description":"Nearest integer greater than or equal to argument","description_html":"Nearest integer greater than or equal to argument","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":"Nearest integer greater than or equal to argument","description_html":"Nearest integer greater than or equal to argument","description_zh":"大于或等于参数的最接近的整数","description_zh_html":"大于或等于参数的最接近的整数","examples":[{"expr":"ceil(42.2)","result":"43"},{"expr":"ceil(-42.8)","result":"-42"}],"html":"\u003ccode class=\"function\"\u003eceil\u003c/code\u003e ( \u003ccode class=\"type\"\u003enumeric\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003enumeric\u003c/code\u003e","returns":"numeric","text":"ceil ( numeric ) → numeric","zh_from":"same-version-manual"},{"description":"Nearest integer greater than or equal to argument","description_html":"Nearest integer greater than or equal to argument","description_zh":"大于或等于参数的最接近的整数","description_zh_html":"大于或等于参数的最接近的整数","examples":[{"expr":"ceil(42.2)","result":"43"},{"expr":"ceil(-42.8)","result":"-42"}],"html":"\u003ccode class=\"function\"\u003eceil\u003c/code\u003e ( \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003edouble precision\u003c/code\u003e","returns":"double precision","text":"ceil ( double precision ) → double precision","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":"ceil","SourceDatabase":"center","Version":"18","Locale":"en","Title":"ceil","Summary":"Nearest integer greater than or equal to argument","BodyHTML":"Nearest integer greater than or equal to argument","SourceRevision":"wiki-repair-20261023:315bc169cb417b1be876a7f16485e9a1466744acea1ae3aec1f23aa5ad575947","ContentHash":"7fa1b7c945771a726e90c693e42f1372027eae18fe67649d5cf8a5a85e303d63","Payload":{"description":"Nearest integer greater than or equal to argument","description_html":"Nearest integer greater than or equal to argument","signatures":[{"description":"Nearest integer greater than or equal to argument","description_html":"Nearest integer greater than or equal to argument","description_zh":"大于或等于参数的最接近的整数","description_zh_html":"大于或等于参数的最接近的整数","examples":[{"expr":"ceil(42.2)","result":"43"},{"expr":"ceil(-42.8)","result":"-42"}],"html":"\u003ccode class=\"function\"\u003eceil\u003c/code\u003e ( \u003ccode class=\"type\"\u003enumeric\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003enumeric\u003c/code\u003e","returns":"numeric","text":"ceil ( numeric ) → numeric","zh_from":"same-version-manual"},{"description":"Nearest integer greater than or equal to argument","description_html":"Nearest integer greater than or equal to argument","description_zh":"大于或等于参数的最接近的整数","description_zh_html":"大于或等于参数的最接近的整数","examples":[{"expr":"ceil(42.2)","result":"43"},{"expr":"ceil(-42.8)","result":"-42"}],"html":"\u003ccode class=\"function\"\u003eceil\u003c/code\u003e ( \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003edouble precision\u003c/code\u003e","returns":"double precision","text":"ceil ( double precision ) → double precision","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":"2d343c26353a95e8391bed6ee0b81b493bf2627096e2eeb0766d26ee5153b2d7","Text":"ceil ( numeric ) → numeric","Returns":"numeric","Payload":{"description":"Nearest integer greater than or equal to argument","description_html":"Nearest integer greater than or equal to argument","description_zh":"大于或等于参数的最接近的整数","description_zh_html":"大于或等于参数的最接近的整数","examples":[{"expr":"ceil(42.2)","result":"43"},{"expr":"ceil(-42.8)","result":"-42"}],"html":"\u003ccode class=\"function\"\u003eceil\u003c/code\u003e ( \u003ccode class=\"type\"\u003enumeric\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003enumeric\u003c/code\u003e","returns":"numeric","text":"ceil ( numeric ) → numeric","zh_from":"same-version-manual"}},{"Version":"18","Ordinal":1,"Hash":"77d312fa21c3aa72a29a618315650b543b81e364fb27cca2e38beffdb7e29d62","Text":"ceil ( double precision ) → double precision","Returns":"double precision","Payload":{"description":"Nearest integer greater than or equal to argument","description_html":"Nearest integer greater than or equal to argument","description_zh":"大于或等于参数的最接近的整数","description_zh_html":"大于或等于参数的最接近的整数","examples":[{"expr":"ceil(42.2)","result":"43"},{"expr":"ceil(-42.8)","result":"-42"}],"html":"\u003ccode class=\"function\"\u003eceil\u003c/code\u003e ( \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003edouble precision\u003c/code\u003e","returns":"double precision","text":"ceil ( double precision ) → double precision","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
