convertir la cadena en flotación c
char myString = "6.88";
float x = atof(myString);
//x is now 6.88
Adventurous Albatross
char myString = "6.88";
float x = atof(myString);
//x is now 6.88
double v1 = 20120313.0;
float v2 = (float) v1;