Ceiling

ceilMicronode

Rounds a number up to the next whole number. Folded at compile time: the result is spliced into the surrounding text as characters, so no node reaches the renderer and the number cannot be re-formatted, animated or bound to afterwards.

Explained in:Value primitives

#Allowed content

Body { }A number

#Examples

!ceil{3.2}

#Notes

  • !ceil{3.2} folds to 4; !ceil{-3.2} to -3.