Skip to content

Twig Math in Stacey and Trailing Zero #167

@pbatts

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?

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