-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Proper way to do string formatting #427
Comments
Today a custom filter is the only thing you can do. I would love to have a formatting filter in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried the following ways to format a float to have 2 decimal place precision, but neither worked:
Result:
invalid operation: tried to use % operator on unsupported types string and number
Result:
unknown filter: filter format is unknown
Is it possible to format strings like this without creating a custom filter? If so, what is the proper way to do it?
The text was updated successfully, but these errors were encountered: