Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed example of a division with a truncated integer result #37

Merged
merged 1 commit into from

2 participants

@fabiant7t

Hej Armin,

das Beispiel der Division mit Integerresultat war falsch - es nutzte '/' statt '//'.

Liebe Grüße,
Fabian

@mitsuhiko mitsuhiko merged commit e37f697 into mitsuhiko:master
@mitsuhiko
Owner

Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 22, 2011
  1. @fabiant7t
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/templates.rst
View
2  docs/templates.rst
@@ -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``.
Something went wrong with that request. Please try again.