pitoa, pdtoa, pxtoa - convert number types to strings |
#include <pstring.h> char *pitoa (pool, int); char *pdtoa (pool, double); char *pxtoa (pool, unsigned); |
These functions convert a decimal int, double or hexadecimal unsigned into a string, which is allocated in pool. |
pitoa is equivalent to psprintf (pool, "%d", i), and the other functions have similar equivalents. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |