Skip to content

Comments

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

Closed
s2b wants to merge 2 commits intomainfrom
feature/roundViewHelpers
Closed

[FEATURE] Add f:round, f:ceil and f:floor ViewHelpers#868
s2b wants to merge 2 commits intomainfrom
feature/roundViewHelpers

Conversation

@s2b
Copy link
Contributor

@s2b s2b commented Apr 18, 2024

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 added 2 commits April 18, 2024 17:41
RoundViewHelper, CeilViewHelper and FloorViewHelper provide three different ways of rounding to Fluid template.

## Examples

```xml
<f:round value="123.456" /> <!-- Outputs 123.46 -->
<f:ceil value="123.456" /> <!-- Outputs 124 -->
<f:floor value="123.456" /> <!-- Outputs 123 -->
```
@s2b s2b marked this pull request as draft August 18, 2024 15:01
@s2b s2b closed this Aug 22, 2025
s2b pushed a commit that referenced this pull request Sep 16, 2025
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 -->
```

This continues the work of Pullrequest:
[[FEATURE] Add f:round, f:ceil and f:floor ViewHelpers #868](#868)
s2b pushed a commit that referenced this pull request Sep 16, 2025
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 -->
```

This continues the work of Pullrequest:
[[FEATURE] Add f:round, f:ceil and f:floor ViewHelpers #868](#868)
s2b added a commit that referenced this pull request Sep 16, 2025
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 -->
```

This continues the work of Pullrequest:
[[FEATURE] Add f:round, f:ceil and f:floor ViewHelpers #868](#868)

Co-authored-by: Michael Staatz <michael@staatzstreich.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant