String to Integer Conversion ?

PaulTsai111
Posts: 48
Joined: Wed May 04, 2016 7:32 pm

String to Integer Conversion ?

Postby PaulTsai111 » Tue Jun 14, 2016 11:12 am

Hi Espressif:

Does Espressif Provide String to Integer API ?

I found that in C stdlib.h , but I did not found it on Espressif .

How to convert the string to integer ?

tobewinner
Posts: 45
Joined: Tue Jan 19, 2016 2:39 pm

Re: String to Integer Conversion ?

Postby tobewinner » Tue Jun 14, 2016 2:19 pm

Try strtol

PaulTsai111
Posts: 48
Joined: Wed May 04, 2016 7:32 pm

Re: String to Integer Conversion ?

Postby PaulTsai111 » Tue Jun 14, 2016 5:06 pm

I have been tried that Espressif seems can include stdlib.h and use
atoi api for changing the string to integer. !

Who is online

Users browsing this forum: No registered users and 13 guests