Conformance Examples 0.1.0 — Transforms: transform-floor¶
floor-rounds-down¶
floor rounds a positive decimal down to the previous integer via {{ n | floor }}.
Template
Context
Output
floor-negative-decimal¶
floor of a negative decimal rounds away from zero.
Template
Context
Output
floor-integer-unchanged¶
floor of an integer is unchanged.
Template
Context
Output
floor-non-numeric-input-is-null¶
A non-numeric input is a soft failure, so floor yields null.
Template
Context
Output
Source fixture: transforms/transform-floor.json