diff --git a/_filters/ceil.md b/_filters/ceil.md new file mode 100644 index 00000000..e6fbc489 --- /dev/null +++ b/_filters/ceil.md @@ -0,0 +1,14 @@ +--- +title: ceil +--- + +`ceil` rounds the input up to the nearest whole number. + +| Input | Output | +|--------------------:|:-------| +| `{ 1.2 | ceil }` | 2 | +| `{ 1.7 | ceil }` | 2 | +| `{ 2.0 | ceil }` | 2 | +| `{ "18.3" | ceil }` | 19 | + +It will attempt to cast any input to a number. \ No newline at end of file