Fluid icon indicating copy to clipboard operation
Fluid copied to clipboard

[FEATURE] Add f:round, f:ceil and f:floor ViewHelpers

Open s2b opened this issue 1 year ago • 0 comments

RoundViewHelper, CeilViewHelper and FloorViewHelper provide three different ways of rounding to Fluid template.

Examples

<f:round value="123.456" /> <!-- Outputs 123.46 -->
<f:ceil value="123.456" /> <!-- Outputs 124 -->
<f:floor value="123.456" /> <!-- Outputs 123 -->

s2b avatar Apr 18 '24 15:04 s2b