Write float arrays to a text file: Difference between revisions
Content added Content deleted
Line 1,588: | Line 1,588: | ||
yprecision := 5. |
yprecision := 5. |
||
'sqrt.dat'asFilename writingFileDo:[:fileStream | |
'sqrt.dat' asFilename writingFileDo:[:fileStream | |
||
x with:y do:[:xI :yI | |
x with:y do:[:xI :yI | |
||
'%.*g\t%.*g\n' printf:{ xprecision . xI . yprecision . yI } on:fileStream |
'%.*g\t%.*g\n' printf:{ xprecision . xI . yprecision . yI } on:fileStream |