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

Twig Math in Stacey and Trailing Zero #167

Open
pbatts opened this issue Oct 18, 2022 · 5 comments
Open

Twig Math in Stacey and Trailing Zero #167

pbatts opened this issue Oct 18, 2022 · 5 comments

Comments

@pbatts
Copy link

pbatts commented Oct 18, 2022

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?

@Sija
Copy link
Contributor

Sija commented Oct 18, 2022

Stacey is not maintained anymore.

@pbatts
Copy link
Author

pbatts commented Oct 18, 2022

LOL

Well, some of us refuse to give up. The community is maintaining it the best we can. See #131

So, do you have a solution?

@Sija
Copy link
Contributor

Sija commented Oct 18, 2022

@pbatts Perhaps open an issue in the maintained fork instead and not in here - in a dead repo?

@06nH
Copy link

06nH commented Oct 24, 2022

@pbatts Perhaps open an issue in the maintained fork instead and not in here - in a dead repo?

If you don't mind me asking—could you point me to the maintained fork?

@Sija
Copy link
Contributor

Sija commented Oct 24, 2022

@06nH The newest I've found is this one - https://github.com/olekristensen/stacey

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

No branches or pull requests

3 participants