aboutsummaryrefslogtreecommitdiffstats
path: root/source/arduino/intcast.rst
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@mit.edu>2010-11-28 11:23:33 -0500
committerMarti Bolivar <mbolivar@mit.edu>2010-11-28 11:23:33 -0500
commitd9cbd78e29d42e70bb46641dd43ee0772c8c975f (patch)
tree80a67cba4468dbcd89b3cd23ad56695b1f146c66 /source/arduino/intcast.rst
parent546b34076d230b617ba86defb6b90cd934b01878 (diff)
downloadlibrambutan-d9cbd78e29d42e70bb46641dd43ee0772c8c975f.tar.gz
librambutan-d9cbd78e29d42e70bb46641dd43ee0772c8c975f.zip
reorganized all the arduino/ docs into a lang/ subdirectory since
they're properly CC attributed now.
Diffstat (limited to 'source/arduino/intcast.rst')
-rw-r--r--source/arduino/intcast.rst32
1 files changed, 0 insertions, 32 deletions
diff --git a/source/arduino/intcast.rst b/source/arduino/intcast.rst
deleted file mode 100644
index 0b34a39..0000000
--- a/source/arduino/intcast.rst
+++ /dev/null
@@ -1,32 +0,0 @@
-.. highlight:: cpp
-
-.. _arduino-intcast:
-
-int()
-=====
-
-Description
------------
-
-Converts a value to the :ref:`int <arduino-int>` data type. Here is
-an example::
-
- double d = 2.5;
- int i = int(d); // i holds "2", an int value
-
-The value inside of the parentheses (``int(...)``) can be of any type.
-However, if it is not a numeric type (like ``double``, ``char``,
-etc.), you will get strange results.
-
-See the :ref:`int <arduino-int>` reference for details about the
-precision and limitations of ``int`` variables on the Maple.
-
-See Also
---------
-
-- :ref:`int <arduino-int>`
-
-
-
-
-.. include:: cc-attribution.txt \ No newline at end of file