Skip to content

Commit

Permalink
Fixed example of a division with a truncated integer result (it's // …
Browse files Browse the repository at this point in the history
…instead of /)
  • Loading branch information
fabiant7t committed May 22, 2011
1 parent 6057afa commit 6ae1285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/templates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ but exists for completeness' sake. The following operators are supported:

//
Divide two numbers and return the truncated integer result.
``{{ 20 / 7 }}`` is ``2``.
``{{ 20 // 7 }}`` is ``2``.

%
Calculate the remainder of an integer division. ``{{ 11 % 7 }}`` is ``4``.
Expand Down

0 comments on commit 6ae1285

Please sign in to comment.