Sunday, October 24, 2010

Convert string to double

Contoh;

string d = "23.5";

double nilai = atof(d.c_str());

Rujukan:

1. http://www.gidforums.com/t-1131.html

No comments:

Post a Comment