{"Entry":{"collection":"func","key":"ceiling","name":"ceiling","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"7.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.0"},{"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":"1e92279ac92ef9cd8249dd58c06858ce91361284a632a03e2ef75e6d4d1558ed","first_version":"8.0","group":"math","group_label":"Mathematical Functions And Operators","groups":["math"],"imported_at":"2026-09-27T17:57:28.20122+08:00","last_version":"20","name":"ceiling","name_key":"ceiling","position":2014,"present_in":["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"],"signature":"ceiling ( numeric ) → numeric","signature_count":2,"slug":"ceiling","source_rev":"b7bd9cda","summary":"Nearest integer greater than or equal to argument (same as ceil)","summary_zh":""}},"Definition":{"Collection":"func","Key":"ceiling","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"ceiling","SourceRevision":"b7bd9cda","Facts":{"description":"Nearest integer greater than or equal to argument (same as ceil)","description_html":"Nearest integer greater than or equal to argument (same as \u003ccode class=\"function\"\u003eceil\u003c/code\u003e)","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":"Nearest integer greater than or equal to argument (same as ceil)","description_html":"Nearest integer greater than or equal to argument (same as \u003ccode class=\"function\"\u003eceil\u003c/code\u003e)","description_zh":"","description_zh_html":"","examples":[{"expr":"ceiling(95.3)","result":"96"}],"html":"\u003ccode class=\"function\"\u003eceiling\u003c/code\u003e ( \u003ccode class=\"type\"\u003enumeric\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003enumeric\u003c/code\u003e","returns":"numeric","text":"ceiling ( numeric ) → numeric","zh_from":""},{"description":"Nearest integer greater than or equal to argument (same as ceil)","description_html":"Nearest integer greater than or equal to argument (same as \u003ccode class=\"function\"\u003eceil\u003c/code\u003e)","description_zh":"","description_zh_html":"","examples":[{"expr":"ceiling(95.3)","result":"96"}],"html":"\u003ccode class=\"function\"\u003eceiling\u003c/code\u003e ( \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003edouble precision\u003c/code\u003e","returns":"double precision","text":"ceiling ( double precision ) → double precision","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-MATH-FUNC-TABLE","file":"functions-math.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"ceiling","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"ceiling","Summary":"大于或等于参数的最接近的整数（与 ceil 相同）","BodyHTML":"大于或等于参数的最接近的整数（与 \u003ccode\u003eceil\u003c/code\u003e 相同）\u003cpre\u003eceiling ( numeric ) → numeric\u003c/pre\u003e大于或等于参数的最接近的整数（与 \u003ccode\u003eceil\u003c/code\u003e 相同）\u003cpre\u003eceiling ( double precision ) → double precision\u003c/pre\u003e大于或等于参数的最接近的整数（与 \u003ccode\u003eceil\u003c/code\u003e 相同）","SourceRevision":"ca936764","ContentHash":"cd10112c1c2d5a7eb9480cb38c6976490a639a6e5016ce5937001707c559ad54","Payload":{"description_zh":"大于或等于参数的最接近的整数（与 ceil 相同）","description_zh_html":"大于或等于参数的最接近的整数（与 \u003ccode class=\"function\"\u003eceil\u003c/code\u003e 相同）","signatures":[{"description_zh":"大于或等于参数的最接近的整数（与 ceil 相同）","description_zh_html":"大于或等于参数的最接近的整数（与 \u003ccode class=\"function\"\u003eceil\u003c/code\u003e 相同）","returns":"numeric","text":"ceiling ( numeric ) → numeric","zh_from":"doc"},{"description_zh":"大于或等于参数的最接近的整数（与 ceil 相同）","description_zh_html":"大于或等于参数的最接近的整数（与 \u003ccode class=\"function\"\u003eceil\u003c/code\u003e 相同）","returns":"double precision","text":"ceiling ( double precision ) → double precision","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","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":"407145f7689ad9e2661732fed97957ef08539c9a17a874db422f399e98984bfc","Text":"ceiling ( numeric ) → numeric","Returns":"numeric","Payload":{"description":"Nearest integer greater than or equal to argument (same as ceil)","description_html":"Nearest integer greater than or equal to argument (same as \u003ccode class=\"function\"\u003eceil\u003c/code\u003e)","description_zh":"","description_zh_html":"","examples":[{"expr":"ceiling(95.3)","result":"96"}],"html":"\u003ccode class=\"function\"\u003eceiling\u003c/code\u003e ( \u003ccode class=\"type\"\u003enumeric\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003enumeric\u003c/code\u003e","returns":"numeric","text":"ceiling ( numeric ) → numeric","zh_from":""}},{"Version":"18","Ordinal":1,"Hash":"6233cdaf6d518569cd5e546168241a805cb9b119590a37a9ff94de51007f324b","Text":"ceiling ( double precision ) → double precision","Returns":"double precision","Payload":{"description":"Nearest integer greater than or equal to argument (same as ceil)","description_html":"Nearest integer greater than or equal to argument (same as \u003ccode class=\"function\"\u003eceil\u003c/code\u003e)","description_zh":"","description_zh_html":"","examples":[{"expr":"ceiling(95.3)","result":"96"}],"html":"\u003ccode class=\"function\"\u003eceiling\u003c/code\u003e ( \u003ccode class=\"type\"\u003edouble precision\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003edouble precision\u003c/code\u003e","returns":"double precision","text":"ceiling ( double precision ) → double precision","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
