Example
#include <stdlib.h>
#define base 10
char *rem;
long int i;
i = strtol("2345.5", &rem, base);
/* i=2345, rem=".5" */
See Also
atoi, atol,
strtoul
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
C/C++ Run-Time Library
3-143
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?