diff options
author | Marti Bolivar <mbolivar@mit.edu> | 2010-11-29 01:49:26 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@mit.edu> | 2010-11-29 01:49:26 -0500 |
commit | 078edc158da7906ba72e7e6528e1a811e07270e7 (patch) | |
tree | 1bc7b2e8137fb5ebfc7b59d59294d7adb9e95468 /docs/source/lang/modulo.rst | |
parent | 5e587be27a7c3bd854b686952a5c9637a2432ff0 (diff) | |
download | librambutan-078edc158da7906ba72e7e6528e1a811e07270e7.tar.gz librambutan-078edc158da7906ba72e7e6528e1a811e07270e7.zip |
Finished converting the Arduino docs
Diffstat (limited to 'docs/source/lang/modulo.rst')
-rw-r--r-- | docs/source/lang/modulo.rst | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/docs/source/lang/modulo.rst b/docs/source/lang/modulo.rst index 9e0dabd..289fba0 100644 --- a/docs/source/lang/modulo.rst +++ b/docs/source/lang/modulo.rst @@ -2,11 +2,8 @@ .. _lang-modulo: -% (modulo) -========== - -Description ------------ +Modulo Operator (``%``) +======================= Calculates the `remainder <http://en.wikipedia.org/wiki/Remainder>`_ when one integer is divided by another. It is useful for keeping a @@ -17,9 +14,7 @@ Syntax :: - result = dividend % divisor - - + dividend % divisor Parameters ---------- @@ -67,11 +62,9 @@ The modulo operator does not work on floats. For that, you can use the C standard library function `fmod() <http://sourceware.org/newlib/libm.html#fmod>`_. - See Also -------- - :ref:`Arithmetic <lang-arithmetic>` - .. include:: cc-attribution.txt |