\section{KJS::Number Class Reference}
\label{classKJS_1_1Number}\index{KJS::Number@{KJS::Number}}
Represents an primitive {\bf Number}{\rm (p.\,\pageref{classKJS_1_1Number})} value.  


{\tt \#include $<$value.h$>$}

Inheritance diagram for KJS::Number:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=55pt]{classKJS_1_1Number__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KJS::Number:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=59pt]{classKJS_1_1Number__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Number} (int i)\label{classKJS_1_1Number_a0}

\item 
{\bf Number} (unsigned int u)\label{classKJS_1_1Number_a1}

\item 
{\bf Number} (double d=0.0)\label{classKJS_1_1Number_a2}

\item 
{\bf Number} (long int l)\label{classKJS_1_1Number_a3}

\item 
{\bf Number} (long unsigned int l)\label{classKJS_1_1Number_a4}

\item 
double {\bf value} () const \label{classKJS_1_1Number_a5}

\item 
int {\bf int\-Value} () const \label{classKJS_1_1Number_a6}

\item 
bool {\bf is\-Na\-N} () const \label{classKJS_1_1Number_a7}

\item 
bool {\bf is\-Inf} () const \label{classKJS_1_1Number_a8}

\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static {\bf Number} {\bf dynamic\-Cast} (const {\bf Value} \&v)
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf Value\-Imp}\label{classKJS_1_1Number_n0}

\item 
class {\bf Number\-Imp}\label{classKJS_1_1Number_n1}

\end{CompactItemize}


\subsection{Detailed Description}
Represents an primitive {\bf Number}{\rm (p.\,\pageref{classKJS_1_1Number})} value. 



Definition at line 369 of file value.h.

\subsection{Member Function Documentation}
\index{KJS::Number@{KJS::Number}!dynamicCast@{dynamicCast}}
\index{dynamicCast@{dynamicCast}!KJS::Number@{KJS::Number}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Number} Number::dynamic\-Cast (const {\bf Value} \& {\em v})\hspace{0.3cm}{\tt  [static]}}\label{classKJS_1_1Number_e0}


Converts a {\bf Value}{\rm (p.\,\pageref{classKJS_1_1Value})} into an {\bf Number}{\rm (p.\,\pageref{classKJS_1_1Number})}. 

If the value's type is not Number\-Type, a null object will be returned (i.e. one with it's internal pointer set to 0). If you do not know for sure whether the value is of type Number\-Type, you should check the {\bf is\-Null()}{\rm (p.\,\pageref{classKJS_1_1Value_a6})} methods afterwards before calling any methods on the returned value.

\begin{Desc}
\item[Returns:]The value converted to a {\bf Number}{\rm (p.\,\pageref{classKJS_1_1Number})} \end{Desc}


Definition at line 373 of file value.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
value.h\item 
internal.h\item 
value.cpp\end{CompactItemize}
