Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Apr 18, 2024

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

    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 committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    28e19db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e00adec View commit details
    Browse the repository at this point in the history