stacey
stacey copied to clipboard
Twig Math in Stacey and Trailing Zero
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?
Stacey is not maintained anymore.
LOL
Well, some of us refuse to give up. The community is maintaining it the best we can. See https://github.com/kolber/stacey/issues/131
So, do you have a solution?
@pbatts Perhaps open an issue in the maintained fork instead and not in here - in a dead repo?
@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?
@06nH The newest I've found is this one - https://github.com/olekristensen/stacey