Conformance Examples 0.1.0 — Transforms: transform-ceil¶
ceil-rounds-up¶
ceil rounds a positive decimal up to the next integer via {{ n | ceil }}.
Template
Context
Output
ceil-negative-decimal¶
ceil of a negative decimal rounds toward zero.
Template
Context
Output
ceil-integer-unchanged¶
ceil of an integer is unchanged.
Template
Context
Output
ceil-numeric-string¶
A numeric string input is parsed before applying ceil.
Template
Context
Output
ceil-non-numeric-input-is-null¶
A non-numeric input is a soft failure, so ceil yields null.
Template
Context
Output
Source fixture: transforms/transform-ceil.json