\hypertarget{numtostr_8h}{\section{opal/util/numtostr.h File Reference}
\label{numtostr_8h}\index{opal/util/numtostr.\+h@{opal/util/numtostr.\+h}}
}
{\ttfamily \#include \char`\"{}opal\+\_\+config.\+h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C char $\ast$ \hyperlink{numtostr_8h_a361510b1a57fb312f755df2a2030a1f5}{opal\+\_\+ltostr} (long num)
\begin{DoxyCompactList}\small\item\em Convert a long integer to a char$\ast$ string. \end{DoxyCompactList}\item 
O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C char $\ast$ \hyperlink{numtostr_8h_ae8702656c9c45987a7b79ef0ecfed45b}{opal\+\_\+dtostr} (double num)
\begin{DoxyCompactList}\small\item\em Convert a double to a char$\ast$ string. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{numtostr_8h_ae8702656c9c45987a7b79ef0ecfed45b}{\index{numtostr.\+h@{numtostr.\+h}!opal\+\_\+dtostr@{opal\+\_\+dtostr}}
\index{opal\+\_\+dtostr@{opal\+\_\+dtostr}!numtostr.\+h@{numtostr.\+h}}
\subsubsection[{opal\+\_\+dtostr}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C char$\ast$ opal\+\_\+dtostr (
\begin{DoxyParamCaption}
\item[{double}]{num}
\end{DoxyParamCaption}
)}}\label{numtostr_8h_ae8702656c9c45987a7b79ef0ecfed45b}


Convert a double to a char$\ast$ string. 

The returned buffer is allocated by calling malloc() and must be freed by the caller.


\begin{DoxyParams}{Parameters}
{\em num} & (I\+N) Input number \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
String containing number (N\+U\+L\+L on failure) 
\end{DoxyReturn}
\hypertarget{numtostr_8h_a361510b1a57fb312f755df2a2030a1f5}{\index{numtostr.\+h@{numtostr.\+h}!opal\+\_\+ltostr@{opal\+\_\+ltostr}}
\index{opal\+\_\+ltostr@{opal\+\_\+ltostr}!numtostr.\+h@{numtostr.\+h}}
\subsubsection[{opal\+\_\+ltostr}]{\setlength{\rightskip}{0pt plus 5cm}O\+P\+A\+L\+\_\+\+D\+E\+C\+L\+S\+P\+E\+C char$\ast$ opal\+\_\+ltostr (
\begin{DoxyParamCaption}
\item[{long}]{num}
\end{DoxyParamCaption}
)}}\label{numtostr_8h_a361510b1a57fb312f755df2a2030a1f5}


Convert a long integer to a char$\ast$ string. 

The returned buffer is allocated by calling malloc() and must be freed by the caller.


\begin{DoxyParams}{Parameters}
{\em num} & (I\+N) Input number \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
String containing number (N\+U\+L\+L on failure) 
\end{DoxyReturn}
