...

Text file src/github.com/noirbizarre/gonja/testData/filters/int.tpl

Documentation: github.com/noirbizarre/gonja/testData/filters

     1{{ "foobar"|int }}
     2{{ nothing|int }}
     3{{ "5.4"|float|int }}
     4{{ "5.5"|float|int }}
     5{{ "5.6"|float|int }}
     6{{ 6|float|int }}
     7{{ -100|int }}

View as plain text