Crossware

Table of Contents        Previous topic       Next topic       

C COMPILER LIBRARY FUNCTION REFERENCE->Detailed Descriptions->ultoa()

Summary

#include <stdlib.h>

    
char *ultoa(unsigned long number, char* string, int radix);Convert unsigned long integer to string

Parameters

    
numberInteger to be converted
stringPointer to the characterarray to receive the string
radixBase of number


Description

This function converts a unsigned long integer to a null terminated character string and stores the result in string.  The length of the resulting string depends upon the value of the number and the radix.


Return Value

The function returns a pointer to string.