{
"id": "fn-math-ceil",
"dataComponent": "math",
"heading": {
"title": "ceil",
"badges": ["Math", "JSMath"]
},
"synopsis": "Rounds a single numeric argument up to the nearest integer, returning a float or int.",
"codeBlocks": [
"extend(\"math\")\\n\\nsput( math:ceil(3.14) )\\n# => 4\\n\\nsput( math:ceil(-2.1) )\\n# => -2"
],
"notes": [
"One numeric argument only. Returns the smallest integer ≥ value (some bridging may store it as float)."
]
}