Search found 1 match

by KIMW107
Tue Aug 23, 2016 1:44 pm
Forum: NetBurner Software
Topic: NNDK Release 2.8.1 (June 2016)
Replies: 9
Views: 30250

Re: NNDK Release 2.8.1 (June 2016)

Hello,
After installing Version 2.8.1, sscanf of a float string returns 0. If I change the conversion to use the atof function all is fine.
example: float tscan;
sscanf(data.c_str(),"%f",&tscan);
float tatof = atof(data.c_str());
SysLog("String:{%s} ... atof: %g sscanf: %g\n",data.c_str(),tatof ...