We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When adding an int to the index for loops it displays as a float instead of an int.
let index = 0 index + 1 should equal and show up as 1 . However, it shows up as 1.0, 2.0, 3.0, etc
#for(player in players) { <tr><td>#(index+1)</td><td>#(player.name)</td></td></tr> }
1 Bryan 2 Jessica 3 Chris
1 Bryan
2 Jessica
3 Chris
1.0 Bryan 2.0 Jessica 3.0 Chris
1.0 Bryan
2.0 Jessica
3.0 Chris
It could be nice to get a number formatting tag to display it to how the user wants it displayed
The text was updated successfully, but these errors were encountered:
add support for integer math, fixes #101
34b5131
Integer math support added in #122. Thanks!
Sorry, something went wrong.
tanner0101
No branches or pull requests
When adding an int to the index for loops it displays as a float instead of an int.
Example
let index = 0
index + 1 should equal and show up as 1 . However, it shows up as 1.0, 2.0, 3.0, etc
#for(player in players) { <tr><td>#(index+1)</td><td>#(player.name)</td></td></tr> }
Expected rendering:
1 Bryan
2 Jessica
3 Chris
How it actually renders:
1.0 Bryan
2.0 Jessica
3.0 Chris
Note:
It could be nice to get a number formatting tag to display it to how the user wants it displayed
The text was updated successfully, but these errors were encountered: