Convert string of variable length to floats.

Hello!
If I use atof (buf); It converts only the first value of the TXT.
Grateful.
Fernando Garcia