The best method for exporting floats is just writing them binary into a file, f.i.

float myfloat = 3.14;
file_str_write(handle,(char*)&myfloat,4);


The second-best method is writing them as ASCII like Saturnus suggested, or using the str_printf function.