[scilab-Users] msscanf

sgougeon at free.fr sgougeon at free.fr
Wed Jul 4 16:53:13 CEST 2012


>I have a line that i want to read
>GRID     1          05777.6319-69.400954.30913      0
>the problem is that the numbers are connected.
>(the line mean GRID 1 0 5777.6319 -69.4009 54.30913   0)
>I tried 
>l=mgel(fid,1);
>Tline=msscanf(1,l,'%s %f %.4f %.4f %.4f %.0f);
>and i get an error

The last float has 5 decimal figures, not 4: .30913

So?



More information about the users mailing list