******
cnum()
******

Purpose
=======

cnum(expr)

Converts expr to a number (integer).

.. note::

   If the expression does not contain a numerical value, behaviour is undefined.


Example
=======



.. code-block:: none

   cnum(3+2);

produces

.. code-block:: none

   5


