Document ceil

This commit is contained in:
Parker Moore
2015-03-13 16:11:12 -07:00
parent 48b5f59b8e
commit 57f83933fd
+14
View File
@@ -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.