Skip to content

Instantly share code, notes, and snippets.

@blackmambahk
Last active October 14, 2018 11:32
Show Gist options
  • Save blackmambahk/10c63f3ecf59687bbb3e to your computer and use it in GitHub Desktop.
Save blackmambahk/10c63f3ecf59687bbb3e to your computer and use it in GitHub Desktop.
More template 'fmt' examples
{{fmt:'%d',@field1}}
{{:@field:d}}
{{:format('%d',@field1)}}
{{:format('%d',@field1) + format('d',@field2)}}
{{fmt:'%d',db.props@field1}}
{{fmt:'%d',db.user[1]@field1}}
{{fmt:'%d',db.user.item@field1}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment