wqclatre
asked on
Convert const char* to double
How do I convert const char* to double
ASKER
Thanks!
Mark the question as answed!
Mark the question as answed!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for answeing so fast!
double d = atof("1.5");
#include <stdio.h>
sscanf("1.5","%lf",&d);