Skip to content

Twig Math in Stacey and Trailing Zero #167

Description

@pbatts

The Twig filter number_format was added in Twig v1.5. Alas, we are stuck with v1.4.

{{ 3.00 + 0.40 }} returns 3.4

Is there a way to handle this and not lose the trailing zero?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions