Copy as Markdown View as Markdown (opens in new tab) View on GitHub (opens in new tab) Open in... ChatGPT (opens in new tab) Claude (opens in new tab) Perplexity (opens in new tab) ceil ceil(number: Number): Number Rounds a number up to the nearest whole number. Parameters Name Description number The number to round. Example This example rounds numbers up to the nearest whole numbers. Notice that 2.1 rounds up to 3. Source %dw 2.0 output application/json --- [ ceil(1.5), ceil(2.1), ceil(3) ] Output [ 2, 3, 3 ]