kcl →
ceil
Compute the smallest integer greater than or equal to a number.
ceil(num: number) -> number
Tags
math
Arguments
Name | Type | Description | Required |
---|---|---|---|
num | number | Yes |
Returns
number
Examples
sketch001 = startSketchOn('XZ')
|> startProfileAt([0, 0], %)
|> lineTo([12, 10], %)
|> line([ceil(7.02986), 0], %)
|> yLineTo(0, %)
|> close(%)
extrude001 = extrude(5, sketch001)