home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
wp_dtp
/
atap.lha
/
ATAP
/
SourceCode
/
LongtoString.c
< prev
next >
Wrap
Text File
|
1992-06-13
|
308b
|
16 lines
/* Routine converts long integers to strings using the ingenious
sprintf() and sscanf() functions. */
LongtoString(value,outString)
long value;
char *outString;
{
static char storage[14]; /* enough room for 10 digits plus '-' sign */
sprintf(storage,"%ld\0",value);
outString=storage;
return(0);
}