Please help me whit string

thanks to every body in advance.
problem:

char buffer[100]
strcpy(buffer,“1310127.5##”

question:

how i can extract in floating point the 127.5 of mine string?
I know this is stupid question…but now are 2 days that i fighting whit Dinamic C…and not find a solution…

thanks

many test…
i found this solution:

main() {

char* buf1; //inizializo i puntatori
char* buf2;
char temp[10];
float val;
char valore[50];//contenitore per valore finale
int i, x;

i = 0;
x = 0;
buf1="*#3*10*0*0.394##"; //buffer di lettura
buf2="*#3*10*0*xxxxx##"; //buffer di confronto

i=strlen(buf1); // conto quanti elementi ci sono nel telegramma

while (x