thanx for ur answer.it reallly work for float data.but some of the data are complex,like:0.0536472874I,and some are float like:0.043443322222
the float numbers are written in the file and the program is worked until the result is complex number.it stop the program and print the error again!
what should I do with this?!
thank you